tcpdump/tcpdump-3.9.7-uninitialized.diff

12 lines
238 B
Diff
Raw Normal View History

--- print-zephyr.c
+++ print-zephyr.c
@@ -134,7 +134,7 @@
void
zephyr_print(const u_char *cp, int length)
{
- struct z_packet z;
+ struct z_packet z = {};
char *parse = (char *) cp;
int parselen = length;
char *s;