open() can return -1. Check before moving on.
author Erik Hovland
()
committer Erik Hovland
()
commit 5384d0d6778d053c3e9c5aeeea559379bcdb243a
tree 938c2c953f4e13179b91b3cbf2a12e1716a5323e
parent 023b055b93f87c9df26da26876d6d62e9c84137f
open() can return -1. Check before moving on.

locker.c has a call to open() that is not checked. It should be checked
and then acted on if -1 is returned.
src/services/mp3tunes/libmp3tunes/locker.c