URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3e3099053b3399a8fad935d9590310f245438ede
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
3e30990 by Guy Harris (guy@xxxxxxxxxxxx):
Add a comment explaining how a compiler bug where it's overly optimizing
a combination of tests could cause the valgrind errors we were seeing,
so we're zeroing the entire structure, padding included, to avoid that.
Change-Id: I6713c870b0432a03b81dda3c3a50566853a9021c
Reviewed-on: https://code.wireshark.org/review/19152
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit abddc44ccaf1677b3763dc068b0c2acbe06a5655)
Reviewed-on: https://code.wireshark.org/review/19153
Actions performed:
from a7c68da cops: try to avoid uninitialized warning error
adds 3e30990 Add a comment explaining how a compiler bug where it's overly optimizing a combination of tests could cause the valgrind errors we were seeing, so we're zeroing the entire structure, padding included, to avoid that.
Summary of changes:
epan/dissectors/packet-cops.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)