After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 503168 - Crash in html_color_new_from_name
Crash in html_color_new_from_name
Status: RESOLVED FIXED
Product: gtkhtml2
Classification: Deprecated
Component: General
unspecified
Other All
: Normal critical
: ---
Assigned To: Rodney Dawes
Rodney Dawes
: 503169 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-12-12 01:59 UTC by Michal Čihař
Modified: 2008-07-29 22:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing this crash (393 bytes, patch)
2007-12-12 02:16 UTC, Michal Čihař
none Details | Review

Description Michal Čihař 2007-12-12 01:59:05 UTC
Steps to reproduce:
html_color_new_from_name function crashes if color contains just "rgb" 
string. Attached patch fixes the crash.

Stack trace:


Other information:
Will attach patch for this.
Comment 1 Michal Čihař 2007-12-12 02:15:17 UTC
*** Bug 503169 has been marked as a duplicate of this bug. ***
Comment 2 Michal Čihař 2007-12-12 02:15:45 UTC
Example to trigger this bug: <p style="color: rgb">
Comment 3 Michal Čihař 2007-12-12 02:16:18 UTC
Created attachment 100792 [details] [review]
Patch fixing this crash
Comment 4 Rodney Dawes 2008-07-29 22:30:38 UTC
Thanks for the patch. This is now committed to SVN.