]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
http_send.c: Fix a bug in http_post_select().
authorAndre Noll <maan@systemlinux.org>
Mon, 4 Feb 2008 19:41:00 +0000 (20:41 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 4 Feb 2008 19:41:00 +0000 (20:41 +0100)
If the accept() on the listen_fd fails, we don't have a valid
file descriptor but tried to close it anyway. Even worse, the
old code dereferenced and then freed the "sc" pointer which
isn't inititialized at that point.


No differences found