#3393 closed defect (fixed)

4.11: 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.11.4
Component: tool/rsb Version: 4.11
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 3:11:36 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In 2c0676d/rtems-source-builder:

sb/path: Walk up to root checking if a path is writable.

A dirname of / is / so the path will never have a length of 0.

Close #3393

Note: See TracTickets for help on using tickets.