[Bug 1508] New: rtems_filesystem_evaluate_path does not handle NULL paths

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Apr 29 00:25:44 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1508

           Summary: rtems_filesystem_evaluate_path does not handle NULL
                    paths
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: ASSIGNED
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: chrisj at rtems.org


A change I made to eval.c:

http://www.rtems.com/cgi-bin/cvsweb.cgi/rtems/cpukit/libcsupport/src/eval.c.diff?r1=1.13;r2=1.14;f=h

blocks the test for NULL in the call because strlen has to be called before
rtems_filesystem_evaluate_path can be made.

This was discovered by Joel and patched in chdir:

http://www.rtems.org/pipermail/rtems-vc/2010-April/000039.html

We should not patch chdir and fix the rtems_filesystem_evaluate_path call.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list