[PATCH 0/7] Check for and propogate clitar memory allocation errors

David Disseldorp ddiss at samba.org
Thu Feb 20 11:47:43 MST 2014

This patch-set removes the existing PANIC_IF_NULL() memory allocation
error handling code in clitar.c. Instead, memory allocation failures are
propagated up to callers.

Feedback appreciated.

Cheers, David


The following changes since commit 8f0d06fa5e654f647664727db6f12901579ec2c7:

  heimdal_build: only enable libintl functions if everything was found (2014-02-20 01:28:24 +0100)

are available in the git repository at:

  git://git.samba.org/ddiss/samba.git libarchive_malloc_errs

for you to fetch changes up to 9c6936e35dfc2ac0eb8a5820eb800e4147398393:

  clitar: don't panic, propagate talloc errors upwards (2014-02-20 19:37:25 +0100)

David Disseldorp (7):
      clitar: check for path_base_name() allocation errors
      clitar: add error return to tar_create_skip_path()
      clitar: add error return to tar_extract_skip_path()
      clitar: add error return to tar_path_in_list()
      clitar: return allocation errors from is_subpath()
      clitar: propagate make_remote_path() talloc errors
      clitar: don't panic, propagate talloc errors upwards

 source3/client/clitar.c | 416 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------
 1 file changed, 295 insertions(+), 121 deletions(-)

More information about the samba-technical mailing list