[PATCH] ptsname_r: don't leak unitialized memory
Aurelien Jarno
aurelien@aurel32.net
Mon May 5 21:46:00 GMT 2014
On Mon, May 05, 2014 at 12:37:21PM -0700, Roland McGrath wrote:
> Seems like something for which you could write a test case.
Indeed, we can at least test that the error value is the correct one.
Catching the use of uninitialized data in xstat64 looks more difficult.
I'll work on that and provide a new version of this patch including a
test.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
More information about the Libc-alpha
mailing list