aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2015-10-06 01:04:18 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2015-10-06 17:13:11 +0000
commit281eabe46f638139b8d85d87a359880dc0f8ea81 (patch)
treefd300be45a1d86069d25285e2812437d2d5ff01e /src/database/sql
parent01ecd41688d0e2441cc8cb755f514807ef966821 (diff)
downloadgo-281eabe46f638139b8d85d87a359880dc0f8ea81.tar.xz
archive/tar: add missing error checks to Reader.Next
A recursive call to Reader.Next did not check the error before trying to use the result, leading to a nil pointer panic. This specific CL addresses the immediate issue, which is the panic, but does not solve the root issue, which is due to an integer overflow in the base-256 parser. Updates #12435 Change-Id: Ia908671f0f411a409a35e24f2ebf740d46734072 Reviewed-on: https://go-review.googlesource.com/15437 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions