You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/10/25 12:40:19 UTC
DO NOT REPLY [Bug 31878] New: -
Bug in apr_filepath_root (Win32) - path not \0-terminated
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31878>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31878
Bug in apr_filepath_root (Win32) - path not \0-terminated
Summary: Bug in apr_filepath_root (Win32) - path not \0-
terminated
Product: APR
Version: HEAD
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: APR
AssignedTo: bugs@httpd.apache.org
ReportedBy: roland.ruedenauer@web.de
Bug in function apr_filepath_root (file_io/win32/filepath.c):
The value of the parameter "filepath" is not \0-terminated on return
from apr_filepath_root when the function is initially called with
a value of either "//" or "\\".
The problematic behavior can be reproduced with the following code fragment:
const char* filepath = "//";
const char* rootpath = NULL;
apr_filepath_root( &rootpath, &filepath, APR_FILEPATH_TRUENAME, pool );
printf( "path after calling apr_filepath_root: %s", filepath );
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org