Re: [PATCH 1/3] Don't ignore the return value of asprintf()

Steve Grubb
2013-02-09T16:50:49Z

On Friday, February 08, 2013 07:12:33 PM Tyler Hicks wrote:
> If an error occurs in asprintf(), the contents of the strp variable are
> undefined. asprintf()'s return value must be checked and the parameter
> passed into asprintf() should be set to NULL upon error.

Applied. I think there are a couple places where it will obviously segfault in
auditctl.c. But the patch does clean up a bunch of warnings.

-Steve