Opened 13 years ago

Closed 13 years ago

#1901 closed defect (fixed)

mythgame game scan causes mythfrontend to segfault if it encounters ENOACCESS

Reported by: anonymous Owned by: greg
Priority: minor Milestone: unknown
Component: mythgame Version: 0.19
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If mythgame, whilst running a scan for games, encounters a directory in a rom path which has permissions that prohibit it from examining the directory (e.g. 700), then it causes mythfrontend to segfault.

Change History (1)

comment:1 Changed 13 years ago by greg

Resolution: fixed
Status: newclosed

(In [10459])

Closes #1901 by adding checks for readability before we try and cycle over the contents of a directory.

Note: See TracTickets for help on using tickets.