Displaying 2 results from an estimated 2 matches for "7e90541".
Did you mean:
798541
2017 Mar 13
2
[PATCH] mllib: Add a binding for realpath(3).
I was planning to use this function to harden the code in
v2v/input_ova.ml against malicious OVA files. However I didn't
complete that work. Hate to see a good commit go to waste ...
Rich.
2017 Mar 13
0
[PATCH] mllib: Add a binding for realpath(3).
...n binding:
https://github.com/libguestfs/supermin/tree/master/src realpath*
---
mllib/unix_utils-c.c | 18 ++++++++++++++++++
mllib/unix_utils.ml | 4 ++++
mllib/unix_utils.mli | 5 +++++
3 files changed, 27 insertions(+)
diff --git a/mllib/unix_utils-c.c b/mllib/unix_utils-c.c
index f5aaaf6..7e90541 100644
--- a/mllib/unix_utils-c.c
+++ b/mllib/unix_utils-c.c
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <fnmatch.h>
+#include <limits.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/statvfs.h>
@@ -57,6 +58,7 @@ extern...