Commit 70cbdab7 authored by Pino Toscano's avatar Pino Toscano

06_CVE-2010-0207.patch: fix

parent 326e460c
......@@ -4,7 +4,7 @@ Description: Do not follow loops blindly
Fixes CVE-2010-0207.
.
Patch modified by keeping the readXRef and refXRefTable versions without the
additional GooVector parameter to avoi breaking API and ABI.
additional GooVector parameter to avoid breaking API and ABI.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=28172
Applied-Upstream: commit:9eda6e8aaae412a9882141d1b5b8c7bf0c823c68
Last-Update: 2012-06-27
......@@ -51,12 +51,10 @@ Last-Update: 2012-06-27
// parse an xref stream
} else if (obj.isInt()) {
@@ -395,7 +401,12 @@ GBool XRef::readXRef(Guint *pos) {
return gFalse;
@@ -396,6 +402,11 @@ GBool XRef::readXRef(Guint *pos) {
}
-GBool XRef::readXRefTable(Parser *parser, Guint *pos) {
+GBool XRef::readXRefTable(Parser *parser, Guint *pos, GooVector<Guint> *followedXRefStm) {
GBool XRef::readXRefTable(Parser *parser, Guint *pos) {
+ GooVector<Guint> followedXRefStm;
+ return readXRefTable(parser, pos, &followedXRefStm);
+}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment