]> git.lizzy.rs Git - go-anidb.git/commit
udpapi: Avoid out-of-bounds access on malformed packets
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 17:32:50 +0000 (14:32 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 17:32:50 +0000 (14:32 -0300)
commit24c69ca632f7bf0dd87604c0d7e1346bb6b741bd
tree1dccaf1ad94a3e3b68b82937f4bbab0444605d3f
parent42d11af6694e273fb118033d3133fe2db20cb7eb
udpapi: Avoid out-of-bounds access on malformed packets

Also reports the strconv.ParseInt error if it's not possible to decode
the reply's code.
udp/reply.go