]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Fix crash when cfg->dvr_config_name is NULL (default config) 69/head
authorJaroslav Kysela <perex@perex.cz>
Wed, 21 Mar 2012 08:34:23 +0000 (09:34 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 21 Mar 2012 08:34:23 +0000 (09:34 +0100)
commit6097dcd6d12e1b37fadc12d7dc14e47125c3b351
tree784f4db9d1b692d883dc5324034ed277b78b1c0f
parente4b88cfc39354043ce7bcaf09a28f0ea44a0983b
Fix crash when cfg->dvr_config_name is NULL (default config)

As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .

This patch fixes the second location for the user check.
src/webui/extjs.c