cURL / Mailing Lists / curl-library / Single Mail


[PATCH 0/2] Fix LD_PRELOAD with ASAN libs

From: Peter Wu <>
Date: Thu, 13 Nov 2014 15:45:19 +0100


Another round of patches around the test suite. This time the patches
fix tests that run under and when cURL is
built with Address Sanitizer (-fsanitize=address).

The first patch (" simplify command environment handling")
actually contains three changes:
 - Convert from shell commands to an array of arguments.
 - Implement a subset of IPC::Run as AIX does not have this module.
 - Implement a custom subroutine that splits a shell command into an
   array. This is done because Text::ParseWords is broken and does not
   handle some cases correctly.

The second patch further restricts the scope of environment variables.

Reviews / comments are appreciated!

Kind regards,

Peter Wu (2): safer system() calls, fix LD_PRELOAD simplify command environment handling

 tests/ | 446 +++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 287 insertions(+), 159 deletions(-)

List admin:
Received on 2014-11-13