diff options
author | Avi Fishman | 2017-10-05 11:25:16 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-10-05 11:25:16 +0200 |
commit | b5d9ba8fe64a0aacf99fd1eec10375a98104a5ea (patch) | |
tree | 814c48b7c5a35fbb141fb8be939f17b3145d9307 /shell/ash_test/ash-standalone/noexec_gets_no_env.right | |
parent | 6f97b30a904407c1f1701d937d9258ca9175c6ab (diff) | |
download | busybox-b5d9ba8fe64a0aacf99fd1eec10375a98104a5ea.zip busybox-b5d9ba8fe64a0aacf99fd1eec10375a98104a5ea.tar.gz |
i2cset: fix 'i' & 's' modes (3 extra bytes were sent)
When 'i' or 's' modes are selected block array is filled from offset 3
(blen = 3) but copied to data.block buffer from offset 0 so first 3 bytes
contains garbage from stack.
The buffer that is sent is also 3 bytes too long due to those extra 3
bytes.
Signed-off-by: Avi Fishman <AviFishman70@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-standalone/noexec_gets_no_env.right')
0 files changed, 0 insertions, 0 deletions