summaryrefslogtreecommitdiff
path: root/user/chelf/fix-uninitialised-read.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/chelf/fix-uninitialised-read.patch')
-rw-r--r--user/chelf/fix-uninitialised-read.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/user/chelf/fix-uninitialised-read.patch b/user/chelf/fix-uninitialised-read.patch
deleted file mode 100644
index 0623647fe..000000000
--- a/user/chelf/fix-uninitialised-read.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- chelf-0.1_git20190110/main.c.old 2018-10-29 10:37:25.000000000 +0000
-+++ chelf-0.1_git20190110/main.c 2019-01-10 18:44:45.320000000 +0000
-@@ -32,7 +32,7 @@
- {
- int fd, rv = -1;
- struct stat st;
-- void *elf;
-+ void *elf = NULL;
- const int open_flags = (mode == MODE_WRITE) ? O_RDWR : O_RDONLY;
- const int mmap_flags = (mode == MODE_WRITE) ?
- (PROT_WRITE|PROT_READ) : PROT_READ;