[PATCH] dm-ioctl.c: fix off-by-one error
commitc1d91a0db5267c06bddeec33bce7bb379a0b36cb
authorAndrew Morton <akpm@osdl.org>
Sat, 29 May 2004 03:56:58 +0000 (28 20:56 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 29 May 2004 03:56:58 +0000 (28 20:56 -0700)
tree2973eb2d9e278826117414796ed9ddb2f8fda5f1
parentedf6250b4ce9ab44481f597487f688fec8c1a33d
[PATCH] dm-ioctl.c: fix off-by-one error

From: Kevin Corry <kevcorry@us.ibm.com>

Fix an OB1 error when calculating an output buffer size, that could cause a
missing null termininator in the 'list devices' ioctl results.  [Steffan
Paletta]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-ioctl.c