Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#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 04/13/18 at 07:45:06 by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"62537bc0acfe2adfe1a483bda13434ab30c7a02b/rtems-source-builder" 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.