diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-11-27 21:02:56 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-28 19:12:13 +0000 |
commit | 3eca8a6ac59d3c27af76c7823868221204af1054 (patch) | |
tree | c21bb6485badb75018e909396c3e8e7c4369b7aa /community/w3m/file_handle.patch | |
parent | 4d4d5bc002981d8d33111bba7a132970f9368464 (diff) | |
download | aports-3eca8a6ac59d3c27af76c7823868221204af1054.tar.bz2 aports-3eca8a6ac59d3c27af76c7823868221204af1054.tar.xz |
community/w3m: switch to debian fork (0.5.3.20161120)
The official w3m project is unmaintained and has several vulnerabilities.
CVE-2016-9422 CVE-2016-9423 CVE-2016-9424 CVE-2016-9425 CVE-2016-9426
CVE-2016-9427 CVE-2016-9428 CVE-2016-9429 CVE-2016-9430 CVE-2016-9431
CVE-2016-9432 CVE-2016-9433 CVE-2016-9434 CVE-2016-9435 CVE-2016-9436
CVE-2016-9437 CVE-2016-9438 CVE-2016-9439 CVE-2016-9440 CVE-2016-9441
CVE-2016-9442 CVE-2016-9443
CVE-2016-9621 CVE-2016-9622 CVE-2016-9623 CVE-2016-9624 CVE-2016-9625
CVE-2016-9626 CVE-2016-9627 CVE-2016-9628 CVE-2016-9629 CVE-2016-9630
CVE-2016-9631 CVE-2016-9632 CVE-2016-9633
Diffstat (limited to 'community/w3m/file_handle.patch')
-rw-r--r-- | community/w3m/file_handle.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/community/w3m/file_handle.patch b/community/w3m/file_handle.patch deleted file mode 100644 index 15422294f9..0000000000 --- a/community/w3m/file_handle.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -Naur old/istream.c new/istream.c ---- old/istream.c 2011-01-04 20:22:22.000000000 +1100 -+++ new/istream.c 2012-07-04 21:50:51.529661517 +1000 -@@ -22,8 +22,8 @@ - static void basic_close(int *handle); - static int basic_read(int *handle, char *buf, int len); - --static void file_close(struct file_handle *handle); --static int file_read(struct file_handle *handle, char *buf, int len); -+static void file_close(struct file_handle_rofl *handle); -+static int file_read(struct file_handle_rofl *handle, char *buf, int len); - - static int str_read(Str handle, char *buf, int len); - -@@ -114,7 +114,7 @@ - stream = New(union input_stream); - init_base_stream(&stream->base, STREAM_BUF_SIZE); - stream->file.type = IST_FILE; -- stream->file.handle = New(struct file_handle); -+ stream->file.handle = New(struct file_handle_rofl); - stream->file.handle->f = f; - if (closep) - stream->file.handle->close = closep; -@@ -658,13 +658,13 @@ - } - - static void --file_close(struct file_handle *handle) -+file_close(struct file_handle_rofl *handle) - { - handle->close(handle->f); - } - - static int --file_read(struct file_handle *handle, char *buf, int len) -+file_read(struct file_handle_rofl *handle, char *buf, int len) - { - return fread(buf, 1, len, handle->f); - } -diff -Naur old/istream.h new/istream.h ---- old/istream.h 2003-10-21 02:41:56.000000000 +1000 -+++ new/istream.h 2012-07-04 21:50:51.529661517 +1000 -@@ -20,7 +20,7 @@ - - typedef struct stream_buffer *StreamBuffer; - --struct file_handle { -+struct file_handle_rofl { - FILE *f; - void (*close) (); - }; -@@ -53,7 +53,7 @@ - - struct file_stream { - struct stream_buffer stream; -- struct file_handle *handle; -+ struct file_handle_rofl *handle; - char type; - char iseos; - int (*read) (); |