com php-src: Fixed bug #69154 Access violation in php7.dll! _emalloc: win32/sendmail.c
| From: | Anatol Belski | Date: | Tue, 03 Mar 2015 16:19:17 +0000 |
| Subject: | com php-src: Fixed bug #69154 Access violation in php7.dll! _emalloc: win32/sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85181@lists.php.net to get a copy of this message | ||
Commit: cddde315c7e915ec9b428cadc799d9705b4d08c9
Author: Anatol Belski <ab@php.net> Tue, 3 Mar 2015 17:14:05 +0100
Parents: 3483cc2cf648021ba1a481502a7ecdc390ffa89d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cddde315c7e915ec9b428cadc799d9705b4d08c9
Log:
Fixed bug #69154 Access violation in php7.dll!_emalloc
one more invalid free
Bugs:
https://bugs.php.net/69154
Changed paths:
M win32/sendmail.c
Diff:
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 194876b..e6120f4 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -310,7 +310,6 @@ PHPAPI int TSendMail(char *host, int *error, char **error_message,
efree(RPath);
}
if (headers) {
- efree(headers);
efree(headers_lc);
}
if (ret != SUCCESS) {