diff options
author | Pawel Osciak <p.osciak@samsung.com> | 2009-07-29 15:02:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-29 19:10:34 -0700 |
commit | c42b110caeb128819104d057acdaa1ae564b7c8d (patch) | |
tree | 061a26895c4072382e6175d0c3fd620b392bd22d /drivers/ide/hpt366.c | |
parent | 3d768213a6c34a27fac1804143da8cf18b8b175f (diff) |
s3c-fb: fix off-by-one bug in loop indexes
Fixed off-by-one bug in loop indexes - some elements beyond windows' array
were accessed, which might result in memory access violations when
removing/suspending the device.
Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ide/hpt366.c')
0 files changed, 0 insertions, 0 deletions