[FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-18:12.elf

Dag-Erling Smørgrav des at des.no
Mon Oct 8 13:58:11 UTC 2018


Konstantin Belousov <kostikbel at gmail.com> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > Ah, I see.  The port used sed to edit the file in-place instead of using
> > a tool that understands Elf and would have adjusted the section length.
> Really this cannot be done, as well as overriding the interpreter name
> with the longer string, since other segments are not movable.

If there is sufficient padding, it could use some of that, and adjust
the length so the binary is still valid.

But none of this matters, since the linux_base ports provide ld-lsb.so.3
and the sed hack has been removed...

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-security mailing list