This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/6602] New: Commandline truncated at 80 chars


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]