From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I just tried to compile package tcpdump-3.6.3-3 from Redhat 8.0. Here are some of the compiler messages. print-ip6opts.c:130: warning: `optlen' might be used uninitialized in this function Here is a patch which fixes the messages. *** ./tcpdump-3.6.2/print-ip6opts.c.old 2002-11-08 08:37:25.000000000 +0000 --- ./tcpdump-3.6.2/print-ip6opts.c 2002-11-08 08:38:44.000000000 +0000 *************** *** 127,133 **** ip6_opt_print(const u_char *bp, int len) { int i; ! int optlen; for (i = 0; i < len; i += optlen) { switch (bp[i]) { --- 127,133 ---- ip6_opt_print(const u_char *bp, int len) { int i; ! int optlen = 0; for (i = 0; i < len; i += optlen) { switch (bp[i]) { Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile the package 2. 3. Additional info:
please report these kind of things upstream