Backport patches to work with old hivex 1.3.5
This commit is contained in:
parent
fd938bff1d
commit
c59e15a167
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue