viveris / uMTP-Responder

Lightweight USB Media Transfer Protocol (MTP) responder daemon for GNU/Linux
GNU General Public License v3.0
184 stars 49 forks source link

Check that fs handles db is valid before using it to get entries #49

Closed twsmith85 closed 3 years ago

twsmith85 commented 3 years ago

This fixes a crash for me from issue #29 when ejecting the removable storage media while not attached to a host.

jfdelnero commented 3 years ago

Good catch and Thanks for the fix !