]> git.baikalelectronics.ru Git - kernel.git/commit
ide: do_identify() string termination fix
authorTejun Heo <tj@home-tj.org>
Mon, 5 Nov 2007 20:42:25 +0000 (21:42 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 5 Nov 2007 20:42:25 +0000 (21:42 +0100)
commitb247c9a7135c49274e8daa5e2d35e00a2cc1119e
treee020540447b1ccb81b409d16e4caa80bc7dd9c76
parent23bb6276860cf862494178cf5ed4b05106ea2df4
ide: do_identify() string termination fix

Terminates id->model string before invoking strstr() in do_identify().

Signed-off-by: Tejun Heo <tj@home-tj.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c