g_mime_utils_header_decode_text() core dump

Bug #1112202 reported by Dinh Le
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gmime (Ubuntu)
New
Undecided
Unassigned

Bug Description

Simple two lines C code below would core dump:

char encodestr = "=?ISO-8859-1?B?WW91ciBQYXlQYWyZIEV4dHJhcyBNYXN0ZXJjYXJkIFN0YXRl?= =?ISO-8859-1?B?bWVudCBmcm9tIEdFIENhcGl0YWwgaXMgQXZhaWxhYmxlIE9ubGluZQ==?=";
char *decodestr = g_mime_utils_header_decode_text(encodestr);

My system is running Ubuntu 12.04 LTS
libgmime-2.6-0 is already the newest version.
libgmime-2.6-0-dbg is already the newest version.
libgmime-2.6-dev is already the newest version.
libgmime-2.6-doc is already the newest version.

I stuck those two lines into the main() function of test-mime.c to generate the core dump.

Thanks for your help.

Dinh

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.