Bug #713

segfault if path to videolib includes "movies" or "tv"

Added by Hammel almost 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:14 Sep 2019
Priority:ImmediateDue date:
Assignee:Hammel% Done:


Target version:PiBox - 2.0 - Harkonnen
Severity:01 - Critical


An example:

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

Revision 55eed861
Added by Hammel almost 2 years ago

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.


#1 Updated by Hammel almost 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed. Tested on media system. Pushed.

Closing issue.

Also available in: Atom PDF