mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 12:51:44 +01:00
CVE-2016-2090 fixed in 0.8.2 https://lists.freedesktop.org/archives/libbsd/2016-April/000133.html https://lists.freedesktop.org/archives/libbsd/2016-April/000134.html
31 lines
707 B
Diff
31 lines
707 B
Diff
--- libbsd-0.8.3.orig/include/bsd/nlist.h
|
|
+++ libbsd-0.8.3/include/bsd/nlist.h
|
|
@@ -28,7 +28,7 @@
|
|
#define LIBBSD_NLIST_H
|
|
|
|
#include <sys/cdefs.h>
|
|
-#include <a.out.h>
|
|
+#include <linux/a.out.h>
|
|
|
|
__BEGIN_DECLS
|
|
extern int nlist(const char *filename, struct nlist *list);
|
|
--- libbsd-0.8.3.orig/src/funopen.c
|
|
+++ libbsd-0.8.3/src/funopen.c
|
|
@@ -138,5 +138,4 @@
|
|
return fopencookie(cookiewrap, mode, funcswrap);
|
|
}
|
|
#else
|
|
-#error "Function funopen() needs to be ported."
|
|
#endif
|
|
--- libbsd-0.8.3.orig/src/nlist.c
|
|
+++ libbsd-0.8.3/src/nlist.c
|
|
@@ -40,7 +40,7 @@
|
|
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
-#include <a.out.h>
|
|
+#include <linux/a.out.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|