Hi, this series of patches adds some code to handle memory allocation failures without crashing.
Previously a lot of memory allocations were not checked for NULL ptrs resulting in nullpointer dereferences if (lib)uclient ran out of memory Regards Tobias Schramm Tobias Schramm (6): uclient-fetch: Check for nullpointer returned by open_output_file uclient-http: basic auth: Handle memory allocation failure uclient-http: auth digest: Handle multiple possible memory allocation failures 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 | 5 +++++ uclient-http.c | 53 ++++++++++++++++++++++++++++++++++++++++++----------- uclient-utils.c | 8 ++++++-- uclient.c | 3 +++ 4 files changed, 56 insertions(+), 13 deletions(-) -- 2.16.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel