summaryrefslogtreecommitdiff
path: root/oui-update.py
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-11 14:48:10 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-11 14:48:10 +0100
commit2643e4e881eb11c1ca1fbd551ce60f035a32007b (patch)
treea34bda1f3290b504546f25e8ae9682ba475467ec /oui-update.py
parent2f43dee3a51eeb96746c0f27bba837b9e423788b (diff)
geoip: Don't NULL-terminate download buffer
The end of the buffer might already contain part of the data payload. Setting the last byte to 0 will thus corrupt the gz file, leading to failed decompression (or previously, to invalid GeoIP database files). The NULL-termination is not necessary in this case, so just omit it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'oui-update.py')
0 files changed, 0 insertions, 0 deletions
, and required higher signal strengths to work at all See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853073, https://bugzilla.opensuse.org/show_bug.cgi?id=1017471, and https://github.com/lwfinger/rtlwifi_new/issues/203 for descriptions of the problems. This patch fixes all of those problems. Fixes: cf4747d7535a ("rtlwifi: Fix regression caused by commit d86e64768859") Signed-off-by: Jurij Smakov <jurij@wooyd.org> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> # 4.9+ Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/scsi/srp.h')