[ 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 (Comment added) 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: Open
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&#65533;\[email protected]\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: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.