diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-06-26 17:52:33 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-06-26 17:52:33 +0000 |
commit | fc95d8ab441d8a8e2758740f29c317df2716e0a8 (patch) | |
tree | 896d22d4ced05789d5be33e5d769dbd868b0eaf4 | |
parent | c383755fbf73305995b0d6b3d23e6c816d21f0bc (diff) |
From Patch #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046>
Ensure ai is initialized to NULL. (Peter Breitenlohner)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | di/pm.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2006-06-26 Alan Coopersmith <alan.coopersmith@sun.com> + + * di/pm.c: + From Patch #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046> + Ensure ai is initialized to NULL. (Peter Breitenlohner) + + 2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: @@ -383,7 +383,7 @@ PMprocessMessages (iceConn, clientData, opcode, length, if (colon) { #if defined(IPv6) && defined(AF_INET6) - struct addrinfo *ai, hints; + struct addrinfo *ai = NULL, hints; Bool bracketed = False; char canonaddr[INET6_ADDRSTRLEN]; int addrtype = AF_UNSPEC; |