[hivex/el5] Backport patches to work with old hivex 1.3.5
Richard W.M. Jones
rjones at fedoraproject.org
Tue Nov 25 13:29:35 UTC 2014
commit c59e15a16737036a47437de5080bf848fad54711
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Nov 25 13:29:25 2014 +0000
Backport patches to work with old hivex 1.3.5
...e-Refuse-to-open-files-8192-bytes-in-size.patch | 8 ++++----
...k-that-pages-do-not-extend-beyond-the-end.patch | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/0001-handle-Refuse-to-open-files-8192-bytes-in-size.patch b/0001-handle-Refuse-to-open-files-8192-bytes-in-size.patch
index ac5dbf6..f0b223d 100644
--- a/0001-handle-Refuse-to-open-files-8192-bytes-in-size.patch
+++ b/0001-handle-Refuse-to-open-files-8192-bytes-in-size.patch
@@ -9,13 +9,13 @@ contain a root node).
Thanks: Mahmoud Al-Qudsi
---
- lib/handle.c | 7 +++++++
+ lib/hivex.c | 7 +++++++
1 file changed, 7 insertions(+)
-diff --git a/lib/handle.c b/lib/handle.c
+diff --git a/lib/hivex.c b/lib/hivex.c
index 62a8644..a3cbcf7 100644
---- a/lib/handle.c
-+++ b/lib/handle.c
+--- a/lib/hivex.c
++++ b/lib/hivex.c
@@ -104,6 +104,13 @@ hivex_open (const char *filename, int flags)
h->size = statbuf.st_size;
diff --git a/0002-handle-Check-that-pages-do-not-extend-beyond-the-end.patch b/0002-handle-Check-that-pages-do-not-extend-beyond-the-end.patch
index 7977e16..6fe8415 100644
--- a/0002-handle-Check-that-pages-do-not-extend-beyond-the-end.patch
+++ b/0002-handle-Check-that-pages-do-not-extend-beyond-the-end.patch
@@ -6,13 +6,13 @@ Subject: [PATCH 2/2] handle: Check that pages do not extend beyond the end of
Thanks: Mahmoud Al-Qudsi
---
- lib/handle.c | 7 +++++++
+ lib/hivex.c | 7 +++++++
1 file changed, 7 insertions(+)
-diff --git a/lib/handle.c b/lib/handle.c
+diff --git a/lib/hivex.c b/lib/hivex.c
index a3cbcf7..3a8f09b 100644
---- a/lib/handle.c
-+++ b/lib/handle.c
+--- a/lib/hivex.c
++++ b/lib/hivex.c
@@ -247,6 +247,13 @@ hivex_open (const char *filename, int flags)
goto error;
}
More information about the scm-commits
mailing list