mbox series

[OpenWrt-Devel,0/1] uclient-http: Close ustream file handle only if allocated

Message ID 20180803213921.25481-1-tobleminer@gmail.com
Headers show
Series uclient-http: Close ustream file handle only if allocated | expand

Message

Tobias Schramm Aug. 3, 2018, 9:39 p.m. UTC
Hi,

this patch fixes a bug in uclient that caused it to close STDIN if the
connection setup failed very early on.

Together with a small oversight in busybox this lead to quite an
interesting bug in Freifunk Gluon:
https://github.com/freifunk-gluon/gluon/issues/1496


Cheers,

Tobias


Tobias Schramm (1):
  uclient-http: Close ustream file handle only if allocated

 uclient-http.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)