summaryrefslogtreecommitdiffstats
path: root/ftw.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-07-03 12:31:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-07-03 12:31:10 -0700
commit6f25ce94326137c8871691aea36c33cd45029aa9 (patch)
tree9fde335436f7acc85802c0f75c84efc934f4bef8 /ftw.h
parentfe8c22a03ebc386a6867d591c780fb45a77d314a (diff)
downloadtxr-6f25ce94326137c8871691aea36c33cd45029aa9.tar.gz
txr-6f25ce94326137c8871691aea36c33cd45029aa9.tar.bz2
txr-6f25ce94326137c8871691aea36c33cd45029aa9.zip
Fix crash in getaddrinfo.
* socket.c (getaddrinfo_wrap): Initialize alist to null, because getaddrinfo doesn't set it in the failure case! Then, avoid calling freeaddrinfo for null pointer; POSIX doesn't require that to work.
Diffstat (limited to 'ftw.h')
0 files changed, 0 insertions, 0 deletions