diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-08-12 22:45:47 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-08-12 22:45:47 +0200 |
commit | bce6f96faa3fbb50538712436ea2f4771d6491f9 (patch) | |
tree | 1e94f5b24e86a2e82a569250801ec1769d401613 /proto_ethernet.c | |
parent | b5b2d939664183d9d8f3906366faf01655886dfc (diff) |
netsniff-ng: Check return value of poll()
The return value of two calls to poll() are never check, despite the
(unlikely) possibility of them returning an error, fix it by checking
the return value and panic()ing on error.
This issue was discovered using the Coverity scanner.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_ethernet.c')
0 files changed, 0 insertions, 0 deletions