diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-30 17:38:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-30 17:38:27 +0000 |
commit | a5b6b616f884090adf9a8ef25b3bbf0175506489 (patch) | |
tree | 22a42b06164563d09fd6b82c7bfcc72d179fed09 /libm/double/pdtr.c | |
parent | 44a6b946f347d1c7dda76d0ed154c852f7445717 (diff) |
"Kim B. Heino" <Kim.Heino@bluegiga.com> reports
In the libc/stdlib/bsd_getpt.c file you have line:
memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1);
It really should be:
memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) );
The last nul character must be copied too because the next line uses
strlen() to get buf's length.
Diffstat (limited to 'libm/double/pdtr.c')
0 files changed, 0 insertions, 0 deletions