Bug #713
segfault if path to videolib includes "movies" or "tv"
Status: | Closed | Start date: | 14 Sep 2019 | |
---|---|---|---|---|
Priority: | Immediate | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | Database | |||
Target version: | PiBox - 2.0 - Harkonnen | |||
Severity: | 01 - Critical |
Description
An example:
/media/usb1/sda1/movies/videolib
This causes a segfault because the path /media/usb1/sda1/movies/ doesn't includes "videolib" before "movies". The workaround is to rename /media/usb1/sda1/movies/ to /media/usb1/sda1/videos (anything except "movies" or "tv").
The fix is to test that the string "videolib/movies" or "videolib/tv" ends the path. If not, skip that path.
Associated revisions
RM #713: Skip paths without "/videolib" in them. This can happen if the parent path includes "movies" or "tv". Fix build warning for missing prototype found in dbkiosk.h because it hadn't been added to videofe.h.
History
#1
Updated by Hammel over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Fixed. Tested on media system. Pushed.
Closing issue.