[epiphany] Don't feed crap into a GMemoryInputStream
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Don't feed crap into a GMemoryInputStream
- Date: Sun, 27 Dec 2015 04:34:05 +0000 (UTC)
commit a6e5831af6604ff4a712d80bc6bca1fc4133def8
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 4dd4246..b4b2d79 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -81,7 +81,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]