aboutsummaryrefslogtreecommitdiff
path: root/coreutils/realpath.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2015-10-27 17:15:04 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-11-01 20:55:09 +0100
commit74bb9d5e63b0928ceac57fedd4a2d383129ade7d (patch)
treedf843f9e83ff4986287cc9e885ab59b1506296f7 /coreutils/realpath.c
parent1fe75b8ef10933d047f7ab6060d4710a39611e92 (diff)
downloadbusybox-74bb9d5e63b0928ceac57fedd4a2d383129ade7d.tar.gz
i2cdump: bail-out if block read fails
We should bail-out if i2c_smbus_read_block_data() or i2c_smbus_read_i2c_block_data() return 0 or less. Add the missing check for the former and fix the existing for the latter. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/realpath.c')
0 files changed, 0 insertions, 0 deletions