commit | 76b1c8f6a8255759a24983a26960d61ab03af20c | [log] [tgz] |
---|---|---|
author | David Clark <david.clark@datasoft.com> | Tue Mar 19 17:06:35 2013 -0700 |
committer | Michael Richardson <mcr@sandelman.ca> | Sun Apr 14 18:33:07 2013 -0400 |
tree | e074c8de1deb6254cd06ef29f80d198c6e23f94e | |
parent | c1f2dbee6d03a85beddf7afa9f0fa7ee6156421a [diff] |
Fix valgrind warning (jump on unitialized value) due to missing ioctl wrapper Valgrind doesn't have a wrapper for the SIOCETHTOOL ioctl call yet. This is causing every program that uses libpcap and valgrind to produce some false warnings because it thinks eval.data was never initialized. A harmless fix is to just set eval.data to 0 instead of leaving it unitialized before the SIOCETHTOOL ioctl call sets it.