fix ZTS build

This commit is contained in:
Antony Dovgal 2008-03-21 08:28:24 +00:00
parent 74b5cfdea5
commit 96c2b045ff

View File

@ -351,6 +351,7 @@ PHPAPI char *php_escape_shell_arg(char *str)
int x, y = 0, l = strlen(str);
char *cmd;
size_t estimate = (4 * l) + 3;
TSRMLS_FETCH();
cmd = safe_emalloc(4, l, 3); /* worst case */