chiark / gitweb /
udev/ata_id: zero out variable properly
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 14 Apr 2013 22:48:45 +0000 (18:48 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 14 Apr 2013 22:52:24 +0000 (18:52 -0400)
commit1e8e0a3221e27f7cc944dd6d734b95e86f67ce5c
treed629fbcc337b633942e8a3483c4ce9c5b7b225fc
parente9b807c1685568d8ed989c2d4c3dcd525ab5549d
udev/ata_id: zero out variable properly

b8a2b0f76 'use initalization instead of explicit zeroing'
introduced a bug where only the first sizeof(uint_t*) bytes
would be zeroed out, instead of the whole array.
src/udev/ata_id/ata_id.c