1 |
tetromino 15/03/05 18:20:52 |
2 |
|
3 |
Added: rest-0.7.92-oauth-missing-include.patch |
4 |
rest-0.7.92-tests-GError-pointers.patch |
5 |
rest-0.7.92-xml-parser-missing-break.patch |
6 |
Log: |
7 |
Fix potentially exploitable memory corruption (bug #542264, thanks to Agostino Sarubbo). Punt old. |
8 |
|
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 net-libs/rest/files/rest-0.7.92-oauth-missing-include.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rest/files/rest-0.7.92-oauth-missing-include.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rest/files/rest-0.7.92-oauth-missing-include.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: rest-0.7.92-oauth-missing-include.patch |
18 |
=================================================================== |
19 |
From b50ace7738ea03817acdad87fb2b338a86018329 Mon Sep 17 00:00:00 2001 |
20 |
From: Christophe Fergeau <cfergeau@××××××.com> |
21 |
Date: Wed, 3 Sep 2014 11:31:49 +0200 |
22 |
Subject: [PATCH 2/3] oauth: Add missing include |
23 |
|
24 |
This fixes a compilation warning about a missing prototype. |
25 |
--- |
26 |
rest/oauth-proxy-call.c | 1 + |
27 |
1 file changed, 1 insertion(+) |
28 |
|
29 |
diff --git a/rest/oauth-proxy-call.c b/rest/oauth-proxy-call.c |
30 |
index dce2c66..ab77b1a 100644 |
31 |
--- a/rest/oauth-proxy-call.c |
32 |
+++ b/rest/oauth-proxy-call.c |
33 |
@@ -25,6 +25,7 @@ |
34 |
#include <rest/rest-proxy-call.h> |
35 |
#include "oauth-proxy-call.h" |
36 |
#include "oauth-proxy-private.h" |
37 |
+#include "rest-proxy-call-private.h" |
38 |
#include "sha1.h" |
39 |
|
40 |
G_DEFINE_TYPE (OAuthProxyCall, oauth_proxy_call, REST_TYPE_PROXY_CALL) |
41 |
-- |
42 |
2.3.1 |
43 |
|
44 |
|
45 |
|
46 |
|
47 |
1.1 net-libs/rest/files/rest-0.7.92-tests-GError-pointers.patch |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rest/files/rest-0.7.92-tests-GError-pointers.patch?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rest/files/rest-0.7.92-tests-GError-pointers.patch?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: rest-0.7.92-tests-GError-pointers.patch |
53 |
=================================================================== |
54 |
From 1bd0dc67914b7398acf60aaa42aa03bb4d36b839 Mon Sep 17 00:00:00 2001 |
55 |
From: Alexandre Rostovtsev <tetromino@g.o> |
56 |
Date: Thu, 5 Mar 2015 13:05:21 -0500 |
57 |
Subject: [PATCH] tests: GError pointers must be initialized |
58 |
|
59 |
https://bugzilla.gnome.org/show_bug.cgi?id=745694 |
60 |
--- |
61 |
tests/custom-serialize.c | 2 +- |
62 |
tests/proxy-continuous.c | 2 +- |
63 |
2 files changed, 2 insertions(+), 2 deletions(-) |
64 |
|
65 |
diff --git a/tests/custom-serialize.c b/tests/custom-serialize.c |
66 |
index b50405d..f683941 100644 |
67 |
--- a/tests/custom-serialize.c |
68 |
+++ b/tests/custom-serialize.c |
69 |
@@ -115,7 +115,7 @@ main (int argc, char **argv) |
70 |
RestProxy *proxy; |
71 |
RestProxyCall *call; |
72 |
char *url; |
73 |
- GError *error; |
74 |
+ GError *error = NULL; |
75 |
|
76 |
#if !GLIB_CHECK_VERSION (2, 36, 0) |
77 |
g_type_init (); |
78 |
diff --git a/tests/proxy-continuous.c b/tests/proxy-continuous.c |
79 |
index 9395cd2..22ad0f7 100644 |
80 |
--- a/tests/proxy-continuous.c |
81 |
+++ b/tests/proxy-continuous.c |
82 |
@@ -139,7 +139,7 @@ static void |
83 |
stream_test (RestProxy *proxy) |
84 |
{ |
85 |
RestProxyCall *call; |
86 |
- GError *error; |
87 |
+ GError *error = NULL; |
88 |
|
89 |
client_count = 1; |
90 |
|
91 |
-- |
92 |
2.3.1 |
93 |
|
94 |
|
95 |
|
96 |
|
97 |
1.1 net-libs/rest/files/rest-0.7.92-xml-parser-missing-break.patch |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rest/files/rest-0.7.92-xml-parser-missing-break.patch?rev=1.1&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rest/files/rest-0.7.92-xml-parser-missing-break.patch?rev=1.1&content-type=text/plain |
101 |
|
102 |
Index: rest-0.7.92-xml-parser-missing-break.patch |
103 |
=================================================================== |
104 |
From 272db68e131a20652c98453b75b9c743cda2b327 Mon Sep 17 00:00:00 2001 |
105 |
From: Rob Bradford <rob@×××××××××××.com> |
106 |
Date: Fri, 19 Sep 2014 17:06:00 +0100 |
107 |
Subject: [PATCH 3/3] xml-parser: Add missing break in switch statement |
108 |
|
109 |
This would result in an inappropriate debug message appearing on valid |
110 |
text data. |
111 |
--- |
112 |
rest/rest-xml-parser.c | 1 + |
113 |
1 file changed, 1 insertion(+) |
114 |
|
115 |
diff --git a/rest/rest-xml-parser.c b/rest/rest-xml-parser.c |
116 |
index 49b49b4..4447a1a 100644 |
117 |
--- a/rest/rest-xml-parser.c |
118 |
+++ b/rest/rest-xml-parser.c |
119 |
@@ -197,6 +197,7 @@ rest_xml_parser_parse_from_data (RestXmlParser *parser, |
120 |
cur_node->content = g_strdup (G(xmlTextReaderConstValue (reader))); |
121 |
REST_DEBUG (XML_PARSER, "Text content found: %s", |
122 |
cur_node->content); |
123 |
+ break; |
124 |
default: |
125 |
REST_DEBUG (XML_PARSER, "Found unknown content with type: 0x%x", |
126 |
xmlTextReaderNodeType (reader)); |
127 |
-- |
128 |
2.3.1 |