]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: Avoid buffer overrun in xtables_compatible_revision()
authorPhil Sutter <phil@nwl.cc>
Thu, 5 Dec 2019 12:57:18 +0000 (13:57 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 6 Dec 2019 11:12:08 +0000 (12:12 +0100)
commitf7d3dbb82e7ed94ccbf10cf70a3c7b3f3aaef1a1
treea4448c3bbd2ace81e937aad8b2f67e60b7c80388
parent28c16371cdad16707674450b59919e3d97185694
libxtables: Avoid buffer overrun in xtables_compatible_revision()

The function is exported and accepts arbitrary strings as input. Calling
strcpy() without length checks is not OK.
libxtables/xtables.c