From: Ralf Baechle <ralf@linux-mips.org>
To: linux-arch@vger.kernel.org
Subject: Double free of initramfs
Date: Wed, 16 Mar 2005 18:49:32 +0000 [thread overview]
Message-ID: <20050316184932.GB16712@linux-mips.org> (raw)
In all linker scripts we currently have something like this:
__init_begin = .;
...
. = ALIGN(4096);
__initramfs_start = .;
.init.ramfs : { *(.init.ramfs) }
__initramfs_end = .;
...
__init_end = .;
It seems all 25 linker scripts in the current bk tree are suffering from
this. Which mean with CONFIG_BLK_DEV_INITRD enabled first free_initrd_mem
may be called to free the initram disk and just a little later
free_initmem will try to free the entire range again, so either the
linker scripts would need fixing or free_initrd_mem has become obsolete.
Ralf
next reply other threads:[~2005-03-16 18:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 18:49 Ralf Baechle [this message]
2005-03-22 2:21 ` Double free of initramfs Andrew Morton
2005-03-22 22:10 ` Adrian Bunk
2005-03-22 22:41 ` Ralf Baechle
2005-03-22 22:57 ` Sam Ravnborg
2005-03-22 23:24 ` Sam Ravnborg
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 23:07 Luck, Tony
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050316184932.GB16712@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-arch@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox