Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile warning in Debian build log #461

Closed
fklassen opened this issue Jan 26, 2018 · 1 comment
Closed

Compile warning in Debian build log #461

fklassen opened this issue Jan 26, 2018 · 1 comment
Assignees
Labels

Comments

@fklassen
Copy link
Member

Found in Debian build log here

/bin/bash ../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc -I../libopts -I..   -DTCPREPLAY -D_U_="__attribute__((unused))" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -O0 -std=gnu99 -Wall  -Wfatal-errors -Wno-variadic-macros -Wno-format-contains-nul -I/usr/include  -Wl,-z,relro -Wl,-z,now -o tcpreplay tcpreplay-tcpreplay_opts.o tcpreplay-send_packets.o tcpreplay-signal_handler.o tcpreplay-tcpreplay.o tcpreplay-tcpreplay_api.o tcpreplay-replay.o ./common/libcommon.a ../lib/libstrl.a -L/usr/lib/x86_64-linux-gnu -lpcap  ../libopts/libopts.la -lrt -lnsl 
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc -I../libopts -I..   -DTCPPREP -D_U_="__attribute__((unused))" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -O0 -std=gnu99 -Wall  -Wfatal-errors -Wno-variadic-macros -Wno-format-contains-nul -I/usr/include  -Wl,-z,relro -Wl,-z,now -o tcpprep tcpprep-tcpprep_opts.o tcpprep-tcpprep.o tcpprep-tree.o tcpprep-tcpprep_api.o ./common/libcommon.a ../lib/libstrl.a -L/usr/lib/x86_64-linux-gnu -lpcap ../libopts/libopts.la  -lrt -lnsl 
tcpliveplay.c: In function 'do_checksum_liveplay':
tcpliveplay.c:1191:5: warning: 'sum' is used uninitialized in this function [-Wuninitialized]
     sum;
     ^~~
@fklassen fklassen self-assigned this Jan 26, 2018
@fklassen fklassen added the bug label Jan 26, 2018
fklassen added a commit that referenced this issue Jan 26, 2018
fklassen added a commit that referenced this issue Jan 26, 2018
fklassen added a commit that referenced this issue Jan 26, 2018
* #461 fix build warning in tcpliveplay
@fklassen
Copy link
Member Author

fixed in PR #462

fklassen added a commit that referenced this issue Oct 19, 2018
* Enhancement_#493_codacy_fixes: (26 commits)
  Enhancement #493 - fixes for Codacy identified issues
  Bug #486 Enforce max snaplen rather than doing realloc
  Bug #486 CVE-2018-17974 realloc memory if packet size increases
  Bug #484 CVE-2018-17582 Check for corrupt PCAP files
  4.3 - revert travis updates from merge
  Remove dead code
  resolve possible null pointer dereference
  travis-ci: add autogen package
  Bug #461 build warnings (#462)
  #412 fix gcc 6.3 compiler warning
  #421 fix ms to ns conversion
  Bug #423 remove commented code
  Bug #423 Remove limit for tcpprep -S
  Bug #398 Rewrite of tcpdump.c (#457)
  Bug #402 memset dlt radiotap get 80211 (#454)
  #404 fix check_list return values (#453)
  #406 fix zero-length IP headers
  #416 apply STDIN restore to all programs
  #416 fix compile issue introduced by downstream PR
  #416 update CHANGELOG [ci skip]
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant