]> granicus.if.org Git - curl/commit
updateconninfo: clear destination struct before getsockname()
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Dec 2014 01:46:15 +0000 (02:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Dec 2014 01:52:19 +0000 (02:52 +0100)
commit9730c9fb7075792a112b65a023379fad3ec8dda4
treee28ad5b3eb42081a9a885e0da9e9a5e9f2104ce2
parent7853c1cfe6fc7828afbb812791a383781aca3be3
updateconninfo: clear destination struct before getsockname()

Otherwise we may read uninitialized bytes later in the unix-domain
sockets case.
lib/connect.c