https://github.com/torvalds/linux
Revision 51b190b304bbeb1090ba20b0623d39917fa62997 authored by Peter Chubb on 20 October 2005, 05:45:14 UTC, committed by Linus Torvalds on 20 October 2005, 06:04:31 UTC
In drivers/acpi/glue.c the address of an integer is cast to the address of
an unsigned long.  This breaks on systems where a long is larger than an
int --- for a start the int can be misaligned; for a second the assignment
through the pointer will overwrite part of the next variable.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Acked-by: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 11909d6
History
Tip revision: 51b190b304bbeb1090ba20b0623d39917fa62997 authored by Peter Chubb on 20 October 2005, 05:45:14 UTC
[PATCH] `unaligned access' in acpi get_root_bridge_busnr()
Tip revision: 51b190b
File Mode Size
Documentation
arch
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.1 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 59.6 KB
Makefile -rw-r--r-- 42.5 KB
README -rw-r--r-- 14.4 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top