]> git.neil.brown.name Git - history.git/commit
[PATCH] range checking in rd_open()
authorAndrew Morton <akpm@digeo.com>
Fri, 20 Jun 2003 15:12:41 +0000 (08:12 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 20 Jun 2003 15:12:41 +0000 (08:12 -0700)
commit25a8424cd1e9561b24712b0a29bc384f9392e54e
treed0c2f1dbea9e233eb67768ce6b9cc9b9aa3504d5
parent561516c8721fa6340bd211c8e2afaab2d0715a16
[PATCH] range checking in rd_open()

If you open /dev/ram7 when the kernel is configured for 4 ramdisks, things
blow up.  Teach rd_open() to check that the minor is in range.
drivers/block/rd.c