public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6602] New: Commandline truncated at 80 chars
@ 2008-06-06 14:16 rmoseley at redhat dot com
  2008-06-11 19:00 ` [Bug general/6602] " cagney at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: rmoseley at redhat dot com @ 2008-06-06 14:16 UTC (permalink / raw)
  To: frysk-bugzilla

In the pr_psargs[80] field in the elf_prpsinfo note struct only 80 characters is
allocated for both the absolute path to the executable and the arguments passed
to the executable.  This presents the problem that if there is a particularly
long executable path or an inordinate amount of arguments passed, the argument
list can be truncated.  In fact, the executable name could be truncated if the
path to the execuatble is longer than 80 chars.

The pr_psargs[80] must be expanded before this can be reliable. Phil tells me a
bug has been filed against elfutils about this a while ago.

-- 
           Summary: Commandline truncated at 80 chars
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: rmoseley at redhat dot com
OtherBugsDependingO 1633
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=6602

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-11 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-06 14:16 [Bug general/6602] New: Commandline truncated at 80 chars rmoseley at redhat dot com
2008-06-11 19:00 ` [Bug general/6602] " cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).