[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2015-02-28 Thread Mike Frysinger (vapier)
vapier 15/02/28 22:59:34 Modified: scanelf.c Log: scanelf: add more range checks to deal with corrupt elfs Revision ChangesPath 1.277pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.277&view=mar

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2015-02-23 Thread Mike Frysinger (vapier)
vapier 15/02/24 06:58:40 Modified: scanelf.c Log: scanelf: handle corrupted hash chains that have infinite loops Revision ChangesPath 1.275pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.275&vi

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2015-02-21 Thread Mike Frysinger (vapier)
vapier 15/02/22 02:27:39 Modified: scanelf.c Log: scanelf: rework interp lookup Prefer PT_INTERP over the section headers since that gets used at runtime. Add verification to the pointer we do find. Revision ChangesPath 1.274pax-utils/scanelf.c

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2015-02-21 Thread Mike Frysinger (vapier)
vapier 15/02/22 01:38:28 Modified: scanelf.c Log: scanelf: add a few more elf->phdr checks Revision ChangesPath 1.273pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.273&view=markup plain: http

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2015-02-21 Thread Mike Frysinger (vapier)
vapier 15/02/22 00:10:27 Modified: scanelf.c Log: scanelf: improve shdr string overflow check more Rather than operate on the result of the pointers (which might have overflowed due to the offset being huge), check the offset directly against the size of the file li

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2015-02-21 Thread Mike Frysinger (vapier)
vapier 15/02/21 19:30:59 Modified: scanelf.c Log: scanelf: fix logic error in shdr string overflow Reported-by: Jakub Wilk URL: https://bugs.debian.org/775270 Revision ChangesPath 1.270pax-utils/scanelf.c file : http://sources.gentoo.org/viewv

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-11-19 Thread Mike Frysinger (vapier)
vapier 14/11/20 01:25:56 Modified: scanelf.c Log: scanelf: add a note in the rpath warning when we fix the ELF automatically #334819 by Dennis Schridde Revision ChangesPath 1.269pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-p

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-11-04 Thread Mike Frysinger (vapier)
vapier 14/11/05 02:02:03 Modified: scanelf.c Log: scanelf: make sure to clear the symtab inputs when the section does not match #527490 by Juergen Rose Revision ChangesPath 1.268pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-p

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-10-19 Thread Mike Frysinger (vapier)
vapier 14/10/19 07:31:20 Modified: scanelf.c Log: scanelf: do not use debug syms with runtime strings or vice versa Revision ChangesPath 1.267pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.267

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-03-20 Thread Mike Frysinger (vapier)
vapier 14/03/21 05:33:33 Modified: scanelf.c Log: note that which() does not handle PATH="/foo::/bar" correctly Revision ChangesPath 1.265pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.265&vie

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-03-20 Thread Mike Frysinger (vapier)
vapier 14/03/21 05:27:21 Modified: scanelf.c Log: rewrite which() so that it works and does not break $PATH we were walking the $PATH in reverse which it should have been forwards. we were also modifying the pointer we got back from getenv() which meant any time we r

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-03-20 Thread Mike Frysinger (vapier)
vapier 14/03/20 08:08:37 Modified: scanelf.c Log: tweak style -- no functional changes Revision ChangesPath 1.263pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.263&view=markup plain: http://s

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c

2014-03-20 Thread Mike Frysinger (vapier)
vapier 14/03/20 08:06:01 Modified: scanelf.c Log: scanelf: convert -E option to use array_t this avoids silently (and wrongly) truncating the options given to -E. it also makes the code a lot easier to handle. #504340 by David Binderman Revision ChangesPath

[gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c xfuncs.h

2014-03-20 Thread Mike Frysinger (vapier)
vapier 14/03/20 07:59:27 Modified: scanelf.c xfuncs.h Log: move array_cnt check into array_for_each init atm, if you try to use array_for_each or array_flatten_str on an array that has no members, you will get a segfault. this is an easy rule to forget (and the curre