]> granicus.if.org Git - handbrake/commit
LinGui: handle missing $HOME directory
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 20 Jun 2018 18:07:10 +0000 (11:07 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 20 Jun 2018 18:11:05 +0000 (11:11 -0700)
commit0cc83b118af3fde18a15bd919ee52f4f35ac4923
treedd9da5fb4fd54a99f8496525d8487a2fa88534df
parent86ea84117427f270970766044532a65746742bd7
LinGui: handle missing $HOME directory

Improves determination of a user config dir under these circumstances
and prevents access to NULL file pointer

Fixes https://github.com/HandBrake/HandBrake/issues/1432

(cherry picked from commit 826d1a7fb862c292195d766f72c51dce120b47bd)
gtk/src/callbacks.c
gtk/src/main.c
gtk/src/presets.c