sfdisk: guard against buffer overflow
authorJim Meyering <meyering@redhat.com>
Wed, 12 Aug 2009 19:16:30 +0000 (21:16 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 13 Aug 2009 12:45:34 +0000 (14:45 +0200)
commitbd34e4e9421edee4289b8239e50c1e45a3d842fb
tree9bc17c982a2bb2204c6b4e4006459550047d0a18
parenta0bb8e69de762aa88144c7a4825e13c446c2bbcb
sfdisk: guard against buffer overflow

* daemon/sfdisk.c (sfdisk): Don't let outrageous "extra_flag"
or "device" strings overflow a fixed-size buffer.
daemon/sfdisk.c