Re: [OpenWrt-Devel] [PATCH v2 0/7] uclient: Handle memory allocation failures
On 18/02/18 13:46, Tobias Schramm wrote: Hi John, I've implemented the suggested improvements and performed some more reformatting to match the codestyle of uclient more closely. Regards Tobias Schramm Hi Tobias, merged most of them alread, please fix/resend 4/7 and 6/7 John 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(-) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2 0/7] uclient: Handle memory allocation failures
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