[vlc-devel] [PATCH] net/httpd: accept any user if none requested

Vincent Bernat bernat at luffy.cx
Sun Apr 27 16:25:38 CEST 2014


 ❦ 27 avril 2014 15:43 CEST, Rémi Denis-Courmont <remi at remlab.net> :

>>  static bool httpdAuthOk(const char *user, const char *pass, const char
>> *b64) {
>> -    if (!*user && !*pass)
>> +    if (!user && !pass)
>>          return true;
>
> I suspect this breaks some call sites that relied on "" implying no
> checks.

OK, corrected patch will follow shortly.
-- 
# Basic IBM dingbats, some of which will never have a purpose clear
# to mankind
	2.4.0 linux/drivers/char/cp437.uni



More information about the vlc-devel mailing list