Gaim Vulnerability

TitleContent-length DOS (malloc error)
Date26 August 2004
CVE NameN/A
Discovered BySean ("infamous42md")
SummaryPosibile for a malicious web server to provide a web page with a false content-length value which could crash Gaim.
DescriptionRemote crash. When a remote server provides a large "content-length" header value, Gaim will attempt to allocate a buffer to store the content, however this allocation attempt will cause Gaim to crash if the length exceeds the amount of possible memory. This happens when reading profile information on some protocols. It also happens when smiley themes are installed via drag and drop.
Fixed in Version0.82
FixThe call to g_malloc() was replaced with a call to g_try_malloc(). If the memory could not be allocated the function returns instead of causing the application to crash.

Return to Index of Vulnerabilities