Commit Graph

328 Commits

Author SHA1 Message Date
Pierre Joye
9292f30367 - ws 2009-04-25 15:08:10 +00:00
Pierre Joye
8c9a66e85b - add 2007d and e 2009-04-25 15:06:34 +00:00
Pierre Joye
7b73190bce - MFH: SEARCHPGM struct has to be freed 2009-04-25 15:02:36 +00:00
Pierre Joye
2e88653242 - silent warning, NULL is not 0 2009-04-25 14:59:21 +00:00
Pierre Joye
ccc615c38e - bad idea to free body 2009-04-25 11:21:14 +00:00
Pierre Joye
c20e1537cf - MFH: #47940, leaks in imap_body() 2009-04-23 22:25:13 +00:00
Ilia Alshanetsky
ae9d5f737e Improved parameter fixing & address a compiler warning 2009-01-08 16:13:51 +00:00
Felipe Pena
c0de7f3113 - MFH: Fixed duplicate errmsg 2009-01-07 18:26:27 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
b4caf5314f - MFH: Fixed memory leak in imap_rfc822_parse_adrlist 2008-12-24 13:31:16 +00:00
Zoe Slattery
78d7ff706e bug #46837 fix 2008-12-16 21:35:01 +00:00
Zoe Slattery
92d3eb31b7 bug #46884 fix 2008-12-16 21:10:16 +00:00
Zoe Slattery
c9fff9cc2d bug #46731 modification to previous fix 2008-12-03 16:52:04 +00:00
Ilia Alshanetsky
a3a73148aa Fixed bug #46731 (Missing validation for the options parameter of the
imap_fetch_overview() function).
2008-12-03 01:04:13 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Dmitry Stogov
fe715fbd72 Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) 2008-10-16 16:21:06 +00:00
Ilia Alshanetsky
5bb68042b8 Fixed a few signedness warnings 2008-10-06 01:18:54 +00:00
Jani Taskinen
22b62586c2 MFH:- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter) 2008-08-04 21:14:28 +00:00
Jani Taskinen
07a3075251 MFH: Add proper version check (new c-clients have this) 2008-08-04 20:51:46 +00:00
Felipe Pena
f1f2a238ca MFB: - Fixed the strings size in imap_headerinfo 2008-07-11 11:27:32 +00:00
Felipe Pena
b82c9b9461 - MFB: Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024) 2008-07-10 17:50:51 +00:00
Felipe Pena
bcecf98096 - Added arginfo 2008-07-07 17:18:43 +00:00
Pierre Joye
2f3beadffd - add version info for 2007a and b
- update config.w32
2008-07-02 17:56:19 +00:00
Felipe Pena
0e63639070 - New parameter parsing API 2008-06-23 03:17:42 +00:00
Philip Olson
db7f3fe8c0 MFH: fixed imap_listscan() proto 2008-06-11 02:32:23 +00:00
Felipe Pena
08d56fca4c - Fixed typo 2008-04-17 11:08:13 +00:00
Ilia Alshanetsky
f728678bb8 Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter invalid) 2008-04-08 00:01:48 +00:00
Ilia Alshanetsky
d9253f7424 Fixed bug #44613 (Crash inside imap_headerinfo()) 2008-04-02 16:26:39 +00:00
Felipe Pena
378dacf99f Typo 2008-04-01 18:48:11 +00:00
Ilia Alshanetsky
7f9d35ebf7 Fixed bug #44594 (imap_open() does not validate # of retries parameter) 2008-04-01 18:28:45 +00:00
Felipe Pena
3946b1fd29 MFB: Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) 2008-03-28 16:45:05 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Nuno Lopes
c10e57b11e try to fix build with gcc 4: take #2 2008-01-31 18:46:03 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Stanislav Malyshev
fb927452c9 sometimes c-client lib returns non-null entry with null host 2007-07-31 00:31:10 +00:00
Ilia Alshanetsky
fd784655a2 Fixed NOTICE message 2007-07-06 00:13:56 +00:00
Ilia Alshanetsky
13aac95bfc Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for
multipart e-mails).
2007-03-19 22:56:57 +00:00
Ilia Alshanetsky
f96245f8b4 malloc() -> pemalloc() 2007-03-11 18:42:19 +00:00
Ilia Alshanetsky
cc04404b28 snprintf() -> slprintf()
# Part 1
2007-02-27 03:04:40 +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
Edin Kadribasic
fee1ef3463 Fixed bug #36496 2007-02-19 16:03:42 +00:00
Antony Dovgal
01058e9770 fix possible double free 2007-02-16 13:28:03 +00:00
Ilia Alshanetsky
ee17c54d88 Reduce stack usage & improve boundary checks 2007-02-16 03:32:06 +00:00
Ilia Alshanetsky
2e35bdc5e9 Fixed a memory leak inside imap_utf8() 2007-02-13 20:12:52 +00:00
Antony Dovgal
04add4c727 MFH: use strlcat() 2007-01-18 14:03:38 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
601f4cd129 MFH 2006-12-25 15:28:57 +00:00
Ilia Alshanetsky
e3569ae80a Define SENDBUFLEN for older c-client libs 2006-12-25 14:23:18 +00:00
Ilia Alshanetsky
c5db57b495 Fixed buffer boundary protection 2006-12-24 22:15:06 +00:00
Ilia Alshanetsky
24cc05dc09 Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client). 2006-12-17 18:22:53 +00:00
Antony Dovgal
ffb9e15465 fix #39613 (Possible segfault in imap initialization due to missing module dependency)
patch by wharmby at uk dot ibm dot com
2006-11-24 10:28:51 +00:00
Ilia Alshanetsky
5cc7f616c9 param parsing fix
# Thanks Hannes
2006-11-06 16:44:03 +00:00
Ilia Alshanetsky
86a6812dbb Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the
number of connection retries).
2006-11-05 18:31:41 +00:00
Antony Dovgal
864f182def fix build with new version of c-client 2006-10-05 14:25:41 +00:00
Ilia Alshanetsky
e55036a346 Fixed bug #38941 (imap extension does not compile against new version of
the imap library).
2006-09-24 18:06:37 +00:00
Antony Dovgal
8c53ff1e80 fix leak in imap_utf8(), avoid extra strlen() call
add test
2006-09-05 11:24:49 +00:00
Antony Dovgal
75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Ilia Alshanetsky
5b4ecd6028 MFB: Extend safe_mode/open_basedir checks to imap_reopen() as well. 2006-08-11 15:07:29 +00:00
Ilia Alshanetsky
b20b73cdb1 Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
imap_body()).
2006-08-04 20:31:19 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Michael Wallner
e44b9f08f6 - not efree but free 2006-01-28 08:07:20 +00:00
Michael Wallner
a146043c25 - fix imap_fetchbody(); there is no default mailgets() 2006-01-27 20:18:03 +00:00
Michael Wallner
b12f8e6811 MFH: add imap_savebody() 2006-01-27 19:46:11 +00:00
Ilia Alshanetsky
fc4fb89cac Fixed bug #35669 (imap_mail_compose() crashes with
multipart-multiboundary-email).
2006-01-05 00:47:16 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Ilia Alshanetsky
43f63e4753 MFH: Fixed bug #32589 (possible crash inside imap_mail_compose() function). 2005-08-30 22:03:29 +00:00
foobar
df5cfe27b4 - Fixed bug #29334 (mail() provides incorrect message time header) 2005-08-07 22:06:29 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
2fae7f1e71 Missing part of the patch for bug #32589 2005-04-08 15:04:34 +00:00
Ilia Alshanetsky
cb8d20760c Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets). 2005-04-05 14:47:47 +00:00
Ilia Alshanetsky
1aab604198 Simplify Code. 2005-02-20 18:23:33 +00:00
Antony Dovgal
c404bdb9f8 check body for NULL before using and prevent segfaults 2005-01-25 14:20:02 +00:00
Antony Dovgal
5e1b127864 destruct return_value 2005-01-21 10:55:41 +00:00
Antony Dovgal
84a8849a3a fix error message 2005-01-20 18:08:08 +00:00
Antony Dovgal
4f3e113e38 fix segfault in imap_sort() - it segfaults when options is less than 0.
it looks like c-client bug, but we still need a workaround.
also, convert_to_string search criteria.
2005-01-20 18:03:35 +00:00
Antony Dovgal
9812f55289 fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0
+ fix protos
2005-01-20 14:04:50 +00:00
Ilia Alshanetsky
c78db34489 Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose). 2005-01-18 23:36:08 +00:00
Ilia Alshanetsky
023c1bccb3 Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). 2005-01-18 16:32:53 +00:00
foobar
b298098307 - Added check for IMAP 2005 version 2005-01-11 04:56:06 +00:00
foobar
57eddbd7d0 - Fixed the crash and leak. 2004-12-30 05:31:55 +00:00
Ilia Alshanetsky
a7bc501d90 MFH: A leak is better(?) then a crash. 2004-12-30 04:39:17 +00:00
Ilia Alshanetsky
8f7f00178f Fixed typo. 2004-12-29 21:56:42 +00:00
Ilia Alshanetsky
ed64463bdb Fixed memory leaks. 2004-12-29 21:33:03 +00:00
Ilia Alshanetsky
742f8c2502 MFB: don't perform pointless operations. 2004-12-29 21:25:00 +00:00
Ilia Alshanetsky
b19e666946 Fixed bug #31142 (imap_mail_compose() fails to generate correct output). 2004-12-22 17:27:39 +00:00
Ilia Alshanetsky
4ab69902dc Fixed possible crash in imap_mail_compose(). 2004-12-21 15:47:14 +00:00
Chuck Hagenbuch
6639ab8469 More spaces -> tabs. 2004-08-12 19:31:36 +00:00
Ilia Alshanetsky
5b58b9af6b Properly fix the msgno check inside imap_fetchbody(). 2004-08-12 19:20:15 +00:00
Chuck Hagenbuch
0bf1525bc8 fix. 2004-08-12 18:01:45 +00:00
Ilia Alshanetsky
1c2a22025d Fixed bug #29209 (imap_fetchbody() doesn't check message index).
# Initial Patch by tony2001 at phpclub dot net
2004-07-21 21:57:03 +00:00
Ilia Alshanetsky
a41a54f7fa Fixed bug #28963 (Missing space for \0 in address allocation). 2004-07-04 16:52:59 +00:00
Ilia Alshanetsky
d6ba95c618 Fixed various possible memory leaks. 2004-05-12 20:17:19 +00:00
Ilia Alshanetsky
827a79ad8d Fixed bug #26909 (crash in imap_mime_header_decode() when no encoding is
used).
2004-01-15 00:35:04 +00:00
Andi Gutmans
3286cb35bd - Remove use of bogus macro 2004-01-14 08:50:02 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar
fa82c2afc4 Added missing constants (bug #26831) 2004-01-08 01:01:39 +00:00