[PATCH] vfprintf: validate nargs and maybe allocate from heap
Andreas Schwab
schwab@linux-m68k.org
Mon Feb 6 16:04:00 GMT 2012
Paul Eggert <eggert@cs.ucla.edu> writes:
> all_done:
> if (__builtin_expect (args_malloced != NULL, 0))
> free (args_malloced);
No need for the NULL check.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list