12 lines
410 B
Diff
12 lines
410 B
Diff
--- hivex-1.3.5/lib/hivex.c~ 2014-11-25 13:36:48.399066057 +0000
|
|
+++ hivex-1.3.5/lib/hivex.c 2014-11-25 13:39:13.171001085 +0000
|
|
@@ -48,6 +48,8 @@
|
|
#include "hivex-internal.h"
|
|
#include "byte_conversions.h"
|
|
|
|
+#define SET_ERRNO(v,fs,...) (errno = (v))
|
|
+
|
|
/* These limits are in place to stop really stupid stuff and/or exploits. */
|
|
#define HIVEX_MAX_SUBKEYS 15000
|
|
#define HIVEX_MAX_VALUES 10000
|