Re: [BUG] null-pointer deref (perhaps reiserfs3)

From: Sven Köhler
Date: Mon Dec 06 2004 - 11:43:57 EST


dd if=/dev/zero of=image bs=1M count=40
mkreiserfs -f image
mount -o loop image /mnt/test
cp -r /etc/ /mnt/test

The kernel will Oops, and cp will segfault.

Well, this won't make sense to you, if don't tell you, that "cp -r /etc/ /mnt/test" copies more, than the reiserfs can take. In other words:
reiserfs crashes if there's no more free diskspace.

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