NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/51952 CVS commit: src/external/bsd/libpcap/dist



The following reply was made to PR lib/51952; it has been noted by GNATS.

From: "Brian Ginsbach" <ginsbach%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51952 CVS commit: src/external/bsd/libpcap/dist
Date: Sat, 12 Aug 2017 00:43:25 +0000

 Module Name:	src
 Committed By:	ginsbach
 Date:		Sat Aug 12 00:43:25 UTC 2017
 
 Modified Files:
 	src/external/bsd/libpcap/dist: gencode.c
 
 Log Message:
 PR lib/51952: Brad Harder: Apply upstream ada959c9
 
 [From upstream tcpdump]
  In pcap_compile(), first check whether the pcap_t is activated.
 
  Before we allocate or otherwise set up anything, check whether the
  pcap_t is activated, and set the error message string and return -1 if
  it's not.
 
  That way, we don't go through the cleanup code in that code path -
  there's nothing to clean up.
 
  Fixes the issue in GitHub pull request #552.
 
 XXX: pullup-8
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.9 -r1.10 src/external/bsd/libpcap/dist/gencode.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index