lkml.org 
[lkml]   [1999]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] fix for the `access beyond end of device' bug of 2.3.[789]

On Fri, 25 Jun 1999, Andrea Arcangeli wrote:

> I finally spotted and fixed the silly bug. Here it is the fix against 2.3.8:
>
> Index: linux/fs/ext2/inode.c
> ===================================================================
> RCS file: /var/cvs/linux/fs/ext2/inode.c,v
> retrieving revision 1.1.1.11
> diff -u -r1.1.1.11 inode.c
> --- linux/fs/ext2/inode.c 1999/06/21 12:35:35 1.1.1.11
> +++ linux/fs/ext2/inode.c 1999/06/24 23:24:03
> @@ -174,6 +174,7 @@
> ret = block_bmap (bread (inode->i_dev, i,
> inode->i_sb->s_blocksize),
> block & (addr_per_block - 1));
> + goto out;

yess, this was it :) I have re-checked this place a hundred times
yesterday but missed the bug ;)

-- mingo



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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.062 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site