Re: [PATCH] mail-storage.c: check against NULL address in strcmp() invocation

2017-01-11 Thread Michal Soltys
On 01/10/2017 09:31 PM, Timo Sirainen wrote: > On 10 Jan 2017, at 21.58, Michal Soltys wrote: >> >> Configurations with multiple shared namespaces can trigger a bug >> where the first argument of strcmp() invocation is NULL. >> >> This patch adds an explicit check, analogously to how the second >>

Re: [PATCH] mail-storage.c: check against NULL address in strcmp() invocation

2017-01-10 Thread Timo Sirainen
On 10 Jan 2017, at 21.58, Michal Soltys wrote: > > Configurations with multiple shared namespaces can trigger a bug > where the first argument of strcmp() invocation is NULL. > > This patch adds an explicit check, analogously to how the second > argument is sanitized. I think it shouldn't be NU