diff options
Diffstat (limited to 'win32/codepage.c')
-rw-r--r-- | win32/codepage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/codepage.c b/win32/codepage.c index 48f60595b4..0543a057a5 100644 --- a/win32/codepage.c +++ b/win32/codepage.c @@ -110,7 +110,7 @@ PW32CP wchar_t *php_win32_cp_conv_ascii_to_w(const char* in, size_t in_len, size #if PHP_DEBUG size_t save_in_len = in_len; #endif - + assert(in && in_len ? in[in_len] == '\0' : 1); if (!in) { |