GNOME Bugzilla – Bug 577728
soup_header_g_string_append_param should handle NULL values
Last modified: 2009-04-03 00:29:18 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).
fixed