From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12132 invoked by alias); 6 Jun 2008 14:16:43 -0000 Received: (qmail 11815 invoked by uid 48); 6 Jun 2008 14:16:01 -0000 Date: Fri, 06 Jun 2008 14:16:00 -0000 From: "rmoseley at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20080606141600.6602.rmoseley@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/6602] New: Commandline truncated at 80 chars X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00225.txt.bz2 List-Id: 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.