]> granicus.if.org Git - php/commitdiff
fix thread safety
authorAnatol Belski <ab@php.net>
Tue, 28 Jul 2015 16:38:06 +0000 (18:38 +0200)
committerAnatol Belski <ab@php.net>
Wed, 29 Jul 2015 08:36:27 +0000 (10:36 +0200)
win32/sendmail.c

index 025c56a2088925280e8062640c37ffc870f346fe..432ebf097d964691ce34b7f037da2badaaab1aa1 100644 (file)
@@ -868,7 +868,7 @@ static int Post(LPCSTR msg)
 //********************************************************************/
 static int Ack(char **server_response)
 {
-       static char buf[MAIL_BUFFER_SIZE];
+       ZEND_TLS char buf[MAIL_BUFFER_SIZE];
        int rlen;
        int Index = 0;
        int Received = 0;