Commit Graph

95 Commits

Author SHA1 Message Date
Anatol Belski
2841aa95db fix thread safety for win32/sendmail 2015-03-03 20:42:28 +01:00
Anatol Belski
82fd62df19 avoid this pointers play 2015-03-03 19:30:15 +01:00
Anatol Belski
2f79fd8d43 use correct free api 2015-03-03 18:09:28 +01:00
Anatol Belski
cddde315c7 Fixed bug #69154 Access violation in php7.dll!_emalloc
one more invalid free
2015-03-03 17:19:17 +01:00
Anatol Belski
74813e6f04 fix socket leaking and better connection err check 2015-03-03 17:19:15 +01:00
Anatol Belski
30830bcefd Fixed bug #69115 crash in mail
There were two issues

- php_pcre_replace could be used directly and sbject_str could be NULL
- the Windows sendmail variant was freeing something passed from the outside
2015-02-27 10:42:20 +01:00
Dmitry Stogov
4241a090ad Avoid reallocation in preg_replace() if nothing was replaced 2015-02-10 13:30:25 +03:00
Anatol Belski
ea689b96a7 cleanup 2015-01-16 11:40:14 +01:00
matbech
27efc2b2ce Bug fix for wrong regex in mail
The wrong string PHP_WIN32_MAIL_UNIFY_REPLACE instead of PHP_WIN32_MAIL_UNIFY_PATTERN is used for the regex.
2015-01-15 15:07:10 +01:00
Stanislav Malyshev
b7a7b1a624 trailing whitespace removal 2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48 first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
Veres Lajos
4b9535341a typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-19 20:23:00 +00:00
Anatol Belski
9fd0364576 fix datatype mismatch warnings 2014-10-29 15:30:01 +01:00
Johannes Schlüter
972badf764 s,PHP 5,PHP 7, 2014-09-20 03:27:40 +02:00
Anatol Belski
b63ab83256 several signature and data type fixes 2014-08-26 13:20:21 +02:00
Anatol Belski
c3e3c98ec6 master renames phase 1 2014-08-25 19:24:55 +02:00
Anatol Belski
8ee2a4a9b5 first shot on merging the core fro the int64 branch 2014-08-16 11:16:11 +02:00
Dmitry Stogov
01c8aee7d2 cleanup 2014-08-13 22:18:05 +04:00
Dmitry Stogov
b4c2bd2277 Fixed compilation on Windows 2014-07-15 15:50:42 +04:00
Pierre Joye
d24c5de173 port sendmail to windwos (untested yet) 2014-05-13 06:51:11 +02:00
Veres Lajos
1b06e0be96 typo fixes 2013-07-15 00:19:49 -07:00
Stanislav Malyshev
02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00
Pierre Joye
94994104a5 - bump minimum version, no more XP/2003 2012-03-04 15:08:12 +00:00
Pierre Joye
5d017c3e2d - silent warning (fix for #28038) 2009-08-26 21:59:54 +00:00
Ilia Alshanetsky
cc8cacd80e Fixed a compiler warning (variable clobbering) 2009-08-25 12:47:28 +00:00
Garrett Serack
827469c94e - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) 2009-08-18 18:58:33 +00:00
Kalle Sommer Nielsen
51f8b64752 MFH: Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo)
# Note, this does not go in 5.2 because the inet ports for VC6 are not in that branch
2009-06-30 11:39:15 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Johannes Schlüter
991c753bc5 - MFH: It's 2006 and PHP 5 2006-02-08 21:03:36 +00:00
foobar
6486069a3f MFH 2006-01-06 02:04:33 +00:00
foobar
df5cfe27b4 - Fixed bug #29334 (mail() provides incorrect message time header) 2005-08-07 22:06:29 +00:00
Anantha Kesari H Y
0a89e44ed7 NetWare cleanup
--Kamesh
2005-07-28 09:44:13 +00:00
Andrey Hristov
9e939133d2 FR 32275 - fifth parameter to preg_replace() to count number of replaces
made.
#it would be nice if someone of the doc team documents it. thanks!
2005-03-12 12:03:50 +00:00
Anantha Kesari H Y
147dab1b57 time.h is available in NetWare LibC.
path sperator has been changed from \ to / while including netware\sendmail_nw.h
2005-02-25 05:57:41 +00:00
Ilia Alshanetsky
e8300c82a0 Stricter cc header check. 2005-01-19 18:54:23 +00:00
foobar
9feb47d70e - Fixed bug #28976 (use From: from headers if sendmail_from is empty) 2005-01-19 17:38:20 +00:00
Frank M. Kromann
819b2e56f9 Exporting symbols used in the imap extension 2003-12-08 22:10:42 +00:00
Ilia Alshanetsky
a439221d6e Fixed bug #25333 (Possible body corruption & crash in win32 mail()). 2003-09-08 22:36:59 +00:00
Ilia Alshanetsky
5790626881 Fixed bug #22947 (Ack() inside win32/sendmail.c may stall in certain
situations).
2003-08-11 18:03:24 +00:00
Ilia Alshanetsky
6d8305a2d3 Fixed bug #25037 (Possible infinite loop inside SendText()) 2003-08-11 16:37:32 +00:00
Ilia Alshanetsky
9826911139 Fixed bug #23798 (Spaces were not being stripped from Bcc header)
Fixed bug #24663 (\n. sequences were not being escaped)
2003-07-23 16:03:10 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Edin Kadribasic
6d55e3456f MFB:
Fixed bug #21442 (Crash of mail() on Windows when the first parameter
is empty).
2003-01-07 11:24:17 +00:00
Anantha Kesari H Y
a53ff6ff54 NetWare related changes/modifications. 2003-01-03 15:17:43 +00:00
Sara Golemon
45ff90cb18 Typo. 2002-12-28 19:40:03 +00:00
Sara Golemon
072d5c2575 When scanning for cc: headers, make sure the header is JUST cc: and not bcc: or original-cc: or <anything-printable>cc:
See Bugs # 21036 and # 20707
2002-12-28 19:32:45 +00:00
Frank M. Kromann
ac2f1624d7 Removing unused code and making sure headers are send when called from imap_mail() 2002-12-06 22:56:57 +00:00
Frank M. Kromann
32d7284c52 Dont scan headers for cc abd bcc if extra parameters are used for these 2002-11-30 21:50:17 +00:00
Markus Fischer
bcadd534ee - Forgot to add an extra space. 2002-09-21 15:03:24 +00:00
Frank M. Kromann
e2c5462d91 Oops. Last commit reverted some of sebastians changes. 2002-07-02 23:44:06 +00:00