commit | 8bfa79fcb81d2bdb043f60ab4171704467808b55 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Tue Jan 02 20:19:40 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Feb 09 17:39:30 2007 -0500 |
tree | 8b81b15237110ee30626057541e07b0ba8aa80bc | |
parent | a0cf733b333eeeafb7324e2897448006c693c26c [diff] |
libata: use ata_id_c_string() There were several places where ATA ID strings are manually terminated and in some places possibly unterminated strings were passed to string functions which don't limit length like strstr(). This patch converts all of them over to ata_id_c_string(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>