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/5865] New: relative path executbales passed to corefiles need a testcase


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

E.G.

./fstack core.1234 ../foo/blah

causing an NPE was fixed with commit:


commit 12ad3f3bda382725291d9d8d5bed2f26ae2f4282
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Fri Feb 8 11:54:33 2008 +0000

    Use CanonicalFile
    
    2008-02-08  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* LinuxCoreHost.java: Use CanonicalFile() througout.

But was noted that the fix has been removed in a subsequent set of rewritings.
Subsquent, and again, another fix:

commit 4b90d585ee31843af8a9b37c0fe65f898aae896b
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Mar 4 15:33:11 2008 +0000

    Construct and return a File from the absolute path of the executable in
LinuxCoreInfo.getExeFile().

This indicates that this case and this fix needs a guarding test case, so that
it will not trip again.

-- 
           Summary: relative path executbales passed to corefiles need a
                    testcase
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: pmuldoon at redhat dot com


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

------- 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]