mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-12 00:17:27 +00:00
BDecoder applies no recursion limit to untrusted bencode, so a large nested list or map produces a StackOverflowError that passes through every catch(Exception) guard on the receive path and terminates the shared I2P session dispatcher thread. Fix by declaring and catching Throwable everywhere. Reported by: haoxucu