hello, I found a bug of use of uninitialized variable in the source code of dynamips , would you help me check if this bug is true?Thank you very much!
here is an overview of bug occurrence. step1:
in file dynamips/common/rom2c.c , line 100:
call pcap_next and use its return value to compare with pkt_ptr step2:
in file libpcap-1.8.1/pcap.c, line 238: pkt is declared here bug uninitialized. step3:
in file libpcap-1.8.1/pcap.c, line 245:
return uninitialized pointer pkt step4:
in file dynamips/common/rom2c.c , line 100:
return value of pcap_next is used in the compare operation but not initialized
The text was updated successfully, but these errors were encountered:
hello, I found a bug of use of uninitialized variable in the source code of dynamips , would you help me check if this bug is true?Thank you very much!

here is an overview of bug occurrence.
step1:
in file dynamips/common/rom2c.c , line 100:
call pcap_next and use its return value to compare with pkt_ptr
step2:
in file libpcap-1.8.1/pcap.c, line 238:
pkt is declared here bug uninitialized.
step3:
in file libpcap-1.8.1/pcap.c, line 245:
return uninitialized pointer pkt
step4:
in file dynamips/common/rom2c.c , line 100:
return value of pcap_next is used in the compare operation but not initialized
The text was updated successfully, but these errors were encountered: