Skip to content

Fix static analysis issues.

Jindrich Novy requested to merge jnovy/libslirp:static-analysis-fixes into master
  • always check return values from socket related functions
  • avoid doublefree in udp_cleanup() and icmp_cleanup()
  • use secure string manipulation in icmp_send_error()
  • always initialize addr local structure in udp_listen()
  • check if lseek() fails in tftp_read_data()

Signed-off-by: Jindrich Novy jnovy@redhat.com

Merge request reports

Loading