]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid wandering over the beginning of the actual buffer
authorRobert Drehmel <robert@FreeBSD.org>
Thu, 23 May 2002 14:21:02 +0000 (14:21 +0000)
committerRobert Drehmel <robert@FreeBSD.org>
Thu, 23 May 2002 14:21:02 +0000 (14:21 +0000)
commitccccc4e1c30b19912fe9681d6097edfb7fd11991
tree0ed7fada3c34a8ff733f955a82139978d839193c
parent0bf831c43ef8b5e048ec5b8ba5aa5d587924e6dc
Avoid wandering over the beginning of the actual buffer
if the passed template string contains only 'X' characters.

Submitted by: Mark Andrews <marka@isc.org> (patch modified)
PR: 38402
lib/libc/stdio/mktemp.c