apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "amin xu" <jxta...@gmail.com>
Subject pointer out of range.
Date Wed, 14 Jun 2006 06:05:58 GMT
in function ' warrsztoastr(..) ' of file \misc\win32\start.c

' for (args = 1, wch = arrsz; wch[0] || wch[1]; ++wch)'   is dangerous.

 because  'wch' may go out of memory range.

should we call 'wcslen(arrsz)' first. to get the string length?

Mime
View raw message