Re: [2.4][TRIVIAL] Use of uninitialized vars in

Alan Cox (alan@lxorguk.ukuu.org.uk)
09 Jul 2003 13:02:24 +0100


On Llu, 2003-07-07 at 17:01, Disconnect wrote:
> If you don't pass reboot=, reboot_mode and reboot_thru_bios are used
> uninitialized and (in the case of reboot_mode) written directly to
> memory for the bios.

reboot_mode is static so defaults to zero.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/