#1508 closed defect (fixed)

rtems_filesystem_evaluate_path does not handle NULL paths

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 4.11
Component: fs Version: 4.10
Severity: normal Keywords:
Cc: sebastian.huber@… Blocked By:
Blocking:

Description

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.

Change History (2)

comment:1 Changed on Mar 13, 2012 at 11:44:41 AM by Sebastian Huber

Cc: Sebastian Huber added

comment:2 Changed on Mar 13, 2012 at 11:46:40 AM by Sebastian Huber

Milestone: 4.104.11
Resolution: fixed
Status: assignedclosed

Fixed.

Note: See TracTickets for help on using tickets.