tcpdump/tcpdump-3.9.8-uninitialized.diff

12 lines
238 B
Diff

--- 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;