[OpenWrt-Devel] [PATCH v3 0/7] uclient: Handle memory allocation failures

Tobias Schramm tobleminer at gmail.com
Tue Feb 20 05:26:25 EST 2018


Hi John,

I've implemented Philip's suggested improvement and changed the codestyle
as per your request.

 Tobias

Changes since v2:
Replace manual allocation and strcpy by strndup
Fix codestyle

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  | 90 ++++++++++++++++++++++++++++++++++++++++++---------------
 uclient-utils.c |  2 +-
 uclient.c       |  3 ++
 4 files changed, 77 insertions(+), 24 deletions(-)

-- 
2.16.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list