- GD:
. Fixed bug #74435 (Buffer over-read into uninitialized memory). (cmb)
+- IMAP:
+ . Fixed bug #72324 (imap_mailboxmsginfo() return wrong size).
+ (ronaldpoon at udomain dot com dot hk, Kalle)
+
- OpenSSL:
. Fixed bug #74651 (negative-size-param (-1) in memcpy in zif_openssl_seal()).
(Stas)
zval *streamind;
pils *imap_le_struct;
char date[100];
- unsigned int msgno, unreadmsg, deletedmsg, msize;
+ unsigned long msgno;
+ zend_ulong unreadmsg = 0, deletedmsg = 0, msize = 0;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &streamind) == FAILURE) {
return;
/* Initialize return object */
object_init(return_value);
- unreadmsg = 0;
- deletedmsg = 0;
- msize = 0;
-
for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) {
MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno);
mail_fetchstructure (imap_le_struct->imap_stream, msgno, NIL);