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 577728 - soup_header_g_string_append_param should handle NULL values
soup_header_g_string_append_param should handle NULL values
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: API
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-04-02 14:12 UTC by Gustavo Noronha (kov)
Modified: 2009-04-03 00:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gustavo Noronha (kov) 2009-04-02 14:12:50 UTC
From my reading of the parse_param_list() function, it is possible that the hashtable it returns will have NULL as value sometimes. It should be safe to call soup_header_g_string_append_param() on the values of the hashtable returned by soup_message_headers_get_content_type(), so I suggest that soup_header_g_string_append_param() should be able to handle those NULL values itself.

I am reporting this because it is causing a crash in WebKitGTK+ (see http://bugzilla.gnome.org/show_bug.cgi?id=577453).
Comment 1 Dan Winship 2009-04-03 00:29:18 UTC
fixed