diff options
author | Ben Chan <benchan@chromium.org> | 2017-02-03 10:31:37 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2017-02-06 13:04:39 -0600 |
commit | fad2ca074e44cf9dd340e9609ff30c047a5ecc0b (patch) | |
tree | 989cdfb5ee2c641659ea23f77e9b7c779b65f4b9 /src/libqmi-glib | |
parent | f52608c93adcfb7732fbf4caab1aa0b80a83fe30 (diff) | |
download | external_libqmi-fad2ca074e44cf9dd340e9609ff30c047a5ecc0b.zip external_libqmi-fad2ca074e44cf9dd340e9609ff30c047a5ecc0b.tar.gz external_libqmi-fad2ca074e44cf9dd340e9609ff30c047a5ecc0b.tar.bz2 |
utils,swi-update: fix image length check in download_image()
This patch fixes the image length check in download_image(). The check
'if (filelen < 0)' in download_image() is always false as 'filelen' is a
size_t and thus unsigned value. The check is effectively bypassed.
Diffstat (limited to 'src/libqmi-glib')
0 files changed, 0 insertions, 0 deletions