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

Tobias Schramm tobleminer at gmail.com
Sun Feb 18 07:46:03 EST 2018

Hi John,

I've implemented the suggested improvements and performed some more
reformatting to match the codestyle of uclient more closely.


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-http: basic auth: Handle memory allocation failure
  uclient-http: auth digest: Handle multiple possible memory allocation
  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 at lists.openwrt.org

More information about the openwrt-devel mailing list