#3392 closed defect (fixed)

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

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: tool/rsb Version: 5
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 (2)

comment:1 Changed on Apr 13, 2018 at 3:06:15 AM by Chris Johns

Component: admintool/rsb
Owner: set to Chris Johns
Status: newaccepted

comment:2 Changed on Apr 13, 2018 at 3:10:08 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: acceptedclosed

In cabaff8/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 #3392

Note: See TracTickets for help on using tickets.