]> git.ipfire.org Git - thirdparty/nftables.git/commit
meta: fix crash when parsing unresolvable mark values
authorPatrick McHardy <kaber@trash.net>
Fri, 10 Jan 2014 09:28:37 +0000 (09:28 +0000)
committerPatrick McHardy <kaber@trash.net>
Fri, 10 Jan 2014 09:28:37 +0000 (09:28 +0000)
commit4097ad726fce2398b42795d7b316d39fb8ea6ee5
tree0bf32076d6364fbc0aa433d72d9870b30c08bcda
parentaed3e22a4fd7ef4ae7c249cfb9f71387df14ff73
meta: fix crash when parsing unresolvable mark values

*res has undefined contents, set to NULL before invoking the parse function
to make sure the test for != NULL doesn't falsely return true.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/datatype.c