]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: MODULE_CONTEXT_SET*() - Avoid NULL pointer arithmetic
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 9 Nov 2020 14:55:06 +0000 (16:55 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 9 Nov 2020 15:37:28 +0000 (17:37 +0200)
commitec07ca42622acc228c7a6cb1cabe6625a0a81663
tree423ce8193f0e6efe1792fd1aade9fa55ba05e4c4
parent7068d53e8d59c38b57cc311105c65dbddc482512
lib: MODULE_CONTEXT_SET*() - Avoid NULL pointer arithmetic

Even though it was only doing +0. Fixes:
runtime error: applying zero offset to null pointer
src/lib/module-context.h