fix to not sometimes read beyond the end of the string.
authorDan Winship <danw@src.gnome.org>
Sun, 27 Jan 2008 17:22:02 +0000 (17:22 +0000)
committerDan Winship <danw@src.gnome.org>
Sun, 27 Jan 2008 17:22:02 +0000 (17:22 +0000)
commitf2e0a28b79465e81a4f6bbe1b55a11bad4375488
tree7c9d2cd9aa5072d940e4cd7ebcc53305b0e83f51
parent164c51730cf965148111a6eff591aa94acbd9303
fix to not sometimes read beyond the end of the string.

* libsoup/soup-headers.c (soup_header_parse_quality_list): fix to
not sometimes read beyond the end of the string.

* libsoup/soup-message-body.c (soup_message_body_append): When
appending a 0-length SOUP_MEMORY_TAKE buffer, we need to free the
passed-in buffer rather than just ignoring it.

* libsoup/soup-server.c (got_headers): fix leak when decoding path

* libsoup/soup-session.c (finalize): free ntlm_manager

* tests/libsoup.supp: update for libsoup 2.4, glib 2.14, etc

* tests/header-parsing.c (do_qvalue_tests):
* tests/uri-parsing.c (main): more cleanup

svn path=/trunk/; revision=1055
ChangeLog
libsoup/soup-headers.c
libsoup/soup-message-body.c
libsoup/soup-server.c
libsoup/soup-session.c
tests/header-parsing.c
tests/libsoup.supp
tests/uri-parsing.c