Hi John, I've implemented the suggested improvements and performed some more reformatting to match the codestyle of uclient more closely.
Regards Tobias Schramm Changes since v1: Fix codestyle Fix memory leak in uclient_http_add_auth_digest Honour return value of auth header functions Fix wrong goto in open_output_file Fix wrong patch subject Tobias Schramm (7): uclient-fetch: Check for nullpointer returned by uclient_get_url_filename uclient-http: basic auth: Handle memory allocation failure uclient-http: auth digest: Handle multiple possible memory allocation failures uclient-http: Implement error handling for header-sending uclient-http: Handle memory allocation failure uclient-utils: Handle memory allocation failure for url file name uclient: Handle memory allocation failure for url uclient-fetch.c | 6 ++++ uclient-http.c | 87 ++++++++++++++++++++++++++++++++++++++++++--------------- uclient-utils.c | 9 ++++-- uclient.c | 3 ++ 4 files changed, 80 insertions(+), 25 deletions(-) -- 2.16.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel