mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
releasing version 2.16-4
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10910 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -1,3 +1,10 @@
|
||||
bsdgames (2.16-4) unstable; urgency=low
|
||||
|
||||
* Fixed a null pointer de-reference in hunt if run on a
|
||||
system with an interface with no link level address. Closes: #279903
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 25 Nov 2004 11:23:09 -0500
|
||||
|
||||
bsdgames (2.16-3) unstable; urgency=low
|
||||
|
||||
* Add docdir to config.params and don't unstall trek.me manually.
|
||||
|
||||
@@ -394,7 +394,8 @@ broadcast_vec(s, vector)
|
||||
|
||||
vec_cnt = 0;
|
||||
for (ip = ifp; ip; ip = ip->ifa_next)
|
||||
if ((ip->ifa_addr->sa_family == AF_INET) &&
|
||||
if (ip->ifa_addr &&
|
||||
(ip->ifa_addr->sa_family == AF_INET) &&
|
||||
(ip->ifa_flags & IFF_BROADCAST))
|
||||
vec_cnt++;
|
||||
|
||||
@@ -405,7 +406,8 @@ broadcast_vec(s, vector)
|
||||
|
||||
vec_cnt = 0;
|
||||
for (ip = ifp; ip; ip = ip->ifa_next)
|
||||
if ((ip->ifa_addr->sa_family == AF_INET) &&
|
||||
if (ip->ifa_addr &&
|
||||
(ip->ifa_addr->sa_family == AF_INET) &&
|
||||
(ip->ifa_flags & IFF_BROADCAST))
|
||||
memcpy(&(*vector)[vec_cnt++], ip->ifa_broadaddr,
|
||||
sizeof(struct sockaddr_in));
|
||||
|
||||
Reference in New Issue
Block a user