[ libetpan-Bugs-945108 ] imap_mailstorage_init() segfaults on null pointers
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #945108, was opened at 2004-04-30 07:13
Message generated for change (Settings changed) made by hoa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=945108&group_id=41064
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Toni Willberg (toniw)
Assigned to: Nobody/Anonymous (nobody)
Summary: imap_mailstorage_init() segfaults on null pointers
Initial Comment:
imap_mailstorage_init() seems to segfault if given some
null pointers.
#0 0x40070e59 in imap_mailstorage_init (storage=0x0,
imap_servername=0x400825c8 "G�\a@p\020\a@",
imap_port=0, imap_command=0x0,
imap_connection_type=0, imap_auth_type=1074275784,
imap_login=0x0, imap_password=0x0,
imap_cached=1, imap_cache_directory=0x804cc50
"/tmp/xxx/tmp") at imapstorage.c:143
-> It should check the pointers before trying to use them.
----------------------------------------------------------------------
Comment By: DINH V. Hoa (hoa)
Date: 2004-04-30 08:01
Message:
Logged In: YES
user_id=201468
maybe you should rather be sure of precondition you are giving
to imap_mailstorage_init().
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=945108&group_id=41064
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8