| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | libelf: Make sure string returned by elf_strptr is NUL terminated. | Mark Wielaard | 2015-02-06 | 1 | -2/+21 |
| | | | | | | | | | | | The result of elf_strptr is often used directly to print or strcmp the string. If the section data was truncated or corrupted that could lead to invalid memory reads possibly crashing the application. https://bugzilla.redhat.com/show_bug.cgi?id=1170810#c24 Reported-by: Alexander Cherepanov <[email protected]> Signed-off-by: Mark Wielaard <[email protected]> | ||||
| * | libelf: elf_strptr should use datalist when data has been added to section. | Mark Wielaard | 2015-02-06 | 1 | -6/+12 |
| | | | | | | | | | | | elf_strptr always used the rawdata when available. But when data has been added to the section it should find the correct buffer in the datalist. Adds a large testcase that checks various ways of adding and extracting strings from a section. Signed-off-by: Mark Wielaard <[email protected]> | ||||
| * | libelf: elf_strptr should fetch the shdr for the section if not yet known. | Mark Wielaard | 2015-02-06 | 1 | -5/+7 |
| | | | | | | | | | | elf_strptr might be called before the shdrs are read in. In that case it needs to explicitly call __elf[32|64]_getshdr_rdlock to check the section type and size. The new strptr testcase triggers this corner case and crashes before the fix. Signed-off-by: Mark Wielaard <[email protected]> | ||||
| * | Update name, license and contributor policy. | Mark Wielaard | 2012-06-05 | 1 | -40/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <[email protected]> Signed-off-by: Mark Wielaard <[email protected]> | ||||
| * | Document possible elf_strptr problem. | Ulrich Drepper | 2009-02-01 | 1 | -1/+5 |
| | | |||||
| * | Fix up bogon and missing log entries from .pmachata.threads branch. | Roland McGrath | 2008-08-25 | 1 | -6/+11 |
| | | |||||
| * | propagate from branch 'com.redhat.elfutils.pmachata.threads' (head ↵ | Ulrich Drepper | 2008-08-16 | 1 | -3/+3 |
| | | | | | | | 8bd3bc10eb015c96f7bafcc6a22c973620b57dd8) to branch 'com.redhat.elfutils' (head c5a11b6b3329382f1b5ffd0020f0d93c64176f20) | ||||
| * | Implement --build-id command line parameter for ld. | Ulrich Drepper | 2008-01-31 | 1 | -3/+21 |
| | | |||||
| * | Fix FSF address. No exception for libdwarf. | Ulrich Drepper | 2006-04-04 | 1 | -1/+1 |
| | | |||||
| * | propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵ | Ulrich Drepper | 2006-04-04 | 1 | -12/+45 |
| | | | | | | | 4f8fc821345feef58624f0aa5b470d4827577d8c) to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633) | ||||
| * | Adjust for monotone. | Ulrich Drepper | 2005-07-26 | 1 | -0/+122 |
