diff options
author | Eric Leblond <eric@regit.org> | 2015-06-24 09:51:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-06-30 00:59:56 +0200 |
commit | 1f3b7755dd27c8a58868cfac8cdbe7690160f9f3 (patch) | |
tree | b9f26c1b25206c9442ed7be4320014e9a2b305ce /src/mnl.c | |
parent | 9f06d928d32155fde97bc3ad6d7ca7f78eb6cf67 (diff) |
erec: fix buffer overflow
A static array was used to read data and to write information in
it without checking the limit of the array. The result was a buffer
overflow when the line was longer than 1024.
This patch now uses a allocated buffer to avoid the problem.
Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/mnl.c')
0 files changed, 0 insertions, 0 deletions