diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2011-10-24 12:33:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-11 15:34:39 -0800 |
commit | e8a312a0e8fda39ba8488e88807cdc3bae3ec20c (patch) | |
tree | a3c1dec92e2de2043938b80c8267729628e35314 | |
parent | c706f0d0151402c93cf3c8e7828886972a0d7ff8 (diff) | |
download | usbutils-e8a312a0e8fda39ba8488e88807cdc3bae3ec20c.tar.gz |
Using uninitialized value as index
Variable 'k' was not initialize before it's usage here.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | lsusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1444,7 +1444,7 @@ static void dump_audiocontrol_interface(libusb_device_handle *dev, const unsigne dump_audio_bmcontrols(" ", buf[14+j], uac2_extension_unit_bmcontrols, protocol); printf(" iExtension %5u %s\n", - buf[15+j+k], term); + buf[15+j], term); dump_junk(buf, " ", 16+j); break; } /* switch (protocol) */ |