]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_pknock: cure NULL dereference
authorAndrew S. Johnson <jengelh@inai.de>
Sun, 28 Feb 2021 14:54:56 +0000 (15:54 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 28 Feb 2021 16:50:36 +0000 (17:50 +0100)
commit42a9b5c6c325231af3f14ba2ad9c28d4f1a8bbd7
treec91417559b1fb42507b725030a128e66aa674de5
parent3233a0ed2c9f93f0506dc1769853e08ac442fed0
xt_pknock: cure NULL dereference

The original patch for long division on x86 didn't take into account
the use of short circuit logic for checking if peer is NULL before
testing it. Here is a revised patch to v3.16.
extensions/pknock/xt_pknock.c