From 51c66111e099f7baf4000a8e1f124c36b5f915f0 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 4 May 2022 06:26:07 +0000 Subject: system/pax-utils: bump { 1.2.4 --> 1.3.4 }. --- system/pax-utils/fix-eitype.patch | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 system/pax-utils/fix-eitype.patch (limited to 'system/pax-utils/fix-eitype.patch') diff --git a/system/pax-utils/fix-eitype.patch b/system/pax-utils/fix-eitype.patch deleted file mode 100644 index a9ea57963..000000000 --- a/system/pax-utils/fix-eitype.patch +++ /dev/null @@ -1,28 +0,0 @@ -elf->data is 'signed char' and casting it to 'int' will sign extend. -Most non-intrusive fix is to just have get_elfeitype() take type as -'unsigned char' to make implicit cast. - -diff -ru pax-utils-1.2.2.orig/paxelf.c pax-utils-1.2.2/paxelf.c ---- pax-utils-1.2.2.orig/paxelf.c 2017-01-24 20:24:53.000000000 +0000 -+++ pax-utils-1.2.2/paxelf.c 2017-09-26 07:01:00.115498082 +0000 -@@ -65,7 +65,7 @@ - QUERY(ELFOSABI_STANDALONE), - { 0, 0 } - }; --const char *get_elfeitype(int ei_type, int type) -+const char *get_elfeitype(int ei_type, unsigned char type) - { - switch (ei_type) { - case EI_CLASS: return find_pairtype(elf_ei_class, type); -diff -ru pax-utils-1.2.2.orig/paxelf.h pax-utils-1.2.2/paxelf.h ---- pax-utils-1.2.2.orig/paxelf.h 2017-01-24 20:24:53.000000000 +0000 -+++ pax-utils-1.2.2/paxelf.h 2017-09-26 07:00:44.941879820 +0000 -@@ -56,7 +56,7 @@ - extern elfobj *_readelf(const char *filename, int read_only); - #define readelf(filename) _readelf(filename, 1) - extern void unreadelf(elfobj *elf); --extern const char *get_elfeitype(int ei_type, int type); -+extern const char *get_elfeitype(int ei_type, unsigned char type); - extern const char *get_elfetype(const elfobj *elf); - extern const char *get_endian(const elfobj *elf); - extern const char *get_elfosabi(const elfobj *elf); -- cgit v1.2.3-60-g2f50