lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <jefxw3pfna.fsf@sykes.suse.de>
Date:	Fri, 08 Feb 2008 17:38:33 +0100
From:	Andreas Schwab <schwab@...e.de>
To:	abelbg@...rp.com
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Elf loader crash while zero-filling .bss

"Abel Bernabeu" <abelbg@...rp.com> writes:

> The offset of some sections fall in the middle of the .bss section. In
> instance, look at the sections 12 (.comment) and 13 (.ARM.atributes).
> Both sections are overlapping with 11 (.bss):
>
> [11] .bss                 NOBITS       0001143c 00143c 000048  0 WA     0   0  4
> [12] .comment             PROGBITS     00000000 00143c 000094  0        0   0  1
> [13] .ARM.attributes      SHT_LOPROC+3 00000000 0014d0 000010  0        0   0  1
> [14] .shstrtab            STRTAB       00000000 0014e0 00007b  0        0   0  1
> [15] .symtab              SYMTAB       00000000 001804 000c70 16       16  92  4
> [16] .strtab              STRTAB       00000000 002474 000840  0        0   0  1
>
> Is this fact meaningful??

The fifth column is the file offset.  Since the .bss section does not
occupy any file space the other sections can be put directly behind it
in the file.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@...e.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ