#3394 closed defect (fixed)

4.10: infinite loop in RSB's path when a prefix path is not writable

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 4.10.3
Component: tool/rsb Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The code gets the dirname() of the path stepping up until there is no path however dirname('/') is / so the path never has a length of 0.

Change History (1)

comment:1 Changed on Apr 13, 2018 at 7:45:06 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In 62537bc/rtems-source-builder:

sb/path: Update the path module to the latest from master.

  • Fixes Windows path issues
  • Fixes infinite loop with a read-only path.

Close #3394

Note: See TracTickets for help on using tickets.