[epiphany/gnome-3-18] Don't feed crap into a GMemoryInputStream
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-18] Don't feed crap into a GMemoryInputStream
- Date: Wed, 30 Dec 2015 17:43:54 +0000 (UTC)
commit 71c0a22880b48ae7e3b04604b11ba1af37dc758a
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Dec 26 21:40:11 2015 -0600
Don't feed crap into a GMemoryInputStream
I haven't analyzed this properly to see what's going on here, but this
is definitely a bug, as this function is often called with -1 for
data_length. Thanks, -Wsign-compare.
embed/ephy-about-handler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index f66c29b..495d5f3 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -82,7 +82,7 @@ ephy_about_handler_get_smaps (EphyAboutHandler *handler)
static void
ephy_about_handler_finish_request (WebKitURISchemeRequest *request,
gchar *data,
- gsize data_length)
+ gssize data_length)
{
GInputStream *stream;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]