diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 21:22:02 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-03-18 20:58:30 -0400 |
commit | 96010518c65de6c7633560d970a4e171f916c6ea (patch) | |
tree | 1732ad6b33d091ced73f96c69c6451282ea7cde6 /src/libudev/libudev-device.c | |
parent | 89fe48ab026869f8b76a3b6a7ea89f0d5c772b31 (diff) |
udev: properly calculate size of remaining data
The data comes from the kernel, so chances of it being
garbled are low, but for correctness' sake, add the check.
CID #996458.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-device.c')
0 files changed, 0 insertions, 0 deletions