https://github.com/torvalds/linux
Revision 5db92850d3ab72b830a0fe6e30eaec8462801408 authored by Daniel Jacobowitz on 16 June 2005, 05:26:34 UTC, committed by Linus Torvalds on 16 June 2005, 16:02:59 UTC
The ELF core dump code has one use of off_t when writing out segments.
Some of the segments may be passed the 2GB limit of an off_t, even on a
32-bit system, so it's important to use loff_t instead.  This fixes a
corrupted core dump in the bigcore test in GDB's testsuite.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent a2ef79e
History
Tip revision: 5db92850d3ab72b830a0fe6e30eaec8462801408 authored by Daniel Jacobowitz on 16 June 2005, 05:26:34 UTC
[PATCH] Fix large core dumps with a 32-bit off_t
Tip revision: 5db9285

README

back to top