Project

General

Profile

Actions

Bug #433

closed

pargs truncates arguments containing '=' characters

Added by Albert Lee over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
cmd - userland programs
Start date:
2010-11-30
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:

Description

pargs terminates argument strings at '=' characters when printing, resulting in truncated strings in the output.

[trisk@ichiban]% pargs 18672                                                  ~
18672:    ssh -f -L 5599:localhost:5900 -oForwardX11=no -oForwardAgent=no -oProtocol=2 -p
argv[0]: ssh
argv[1]: -f
argv[2]: -L
argv[3]: 5599:localhost:5900
argv[4]: -oForwardX11
argv[5]: -oForwardAgent
argv[6]: -oProtocol
argv[7]: -p
argv[8]: 22
argv[9]: -l
argv[10]: trisk
argv[11]: undertow
argv[12]: echo
argv[13]: ViNagRE_CHEck;
argv[14]: sleep
argv[15]: 15

Actions #1

Updated by Albert Lee over 12 years ago

  • Status changed from New to Rejected

Sorry, ssh was modifying its argv contents. Thanks, Chris and Alan!

Actions

Also available in: Atom PDF