diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-03-12 18:27:45 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-03-12 18:27:45 +0100 |
commit | a875d3fb4beda43cb54b5810565bafc16a568e5c (patch) | |
tree | a20a5bd0488625d01d89965ac8ca7e72fa4454a7 /tests/iphash.t | |
parent | 6dbdb4e2ab4f83d6eccba2283bd8bb4b3cbc447a (diff) |
Fix possible truncated output in ipset output buffer handling
Omri Bahumi and Yoni Lavi discovered that due to the inproper
handling of the ipset output buffer, the output may be truncated.
So for example in an "ipset save" output, instead of 192.168.0.0/24,
just 192.168.0.0 printed. If one use "ipset save" and then "ipset restore"
to restore the sets, this may lead to wrong firewall rules at the end.
The patch fixes the bug in the ipset code.
Diffstat (limited to 'tests/iphash.t')
0 files changed, 0 insertions, 0 deletions