summaryrefslogtreecommitdiffstats
path: root/virt/kvm/Kconfig
diff options
context:
space:
mode:
authorwzt.wzt@gmail.com <wzt.wzt@gmail.com>2010-04-02 08:41:14 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-02 08:41:14 +0200
commita506aedc51093544ff0f9610af6066d18cb6abbe (patch)
tree3a23d5987c02a94eb46746ae29d50d2d9e38a150 /virt/kvm/Kconfig
parentb2b163dd47024e445410b72d0c5df6d819c14dfd (diff)
downloadop-kernel-dev-a506aedc51093544ff0f9610af6066d18cb6abbe.zip
op-kernel-dev-a506aedc51093544ff0f9610af6066d18cb6abbe.tar.gz
Block: Fix block/elevator.c elevator_get() off-by-one error
elevator_get() not check the name length, if the name length > sizeof(elv), elv will miss the '\0'. And elv buffer will be replace "-iosched" as something like aaaaaaaaa, then call request_module() can load an not trust module. Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'virt/kvm/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud