Home
last modified time | relevance | path

Searched hist:"447 a8c25" (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_mips64el.c447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)
447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)
447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)
447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)
447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)
447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)
447a8c25 Sat Oct 20 18:47:45 GMT 2018 Ed Maste <emaste@FreeBSD.org> libelf: also test for 64-bit ELF in _libelf_is_mips64el

Although _libelf_is_mips64el is only called in contexts where we've
already checked that e_class is ELFCLASS64 but this may change in the
future. Add a safety belt so that we don't access an invalid e_ehdr64
union member if it does.

Reported by: jkoshy (in review D17380)