Skip to content
  • cypherpunks's avatar
    core/mainloop: Limit growth of conn->inbuf · fd3e0c15
    cypherpunks authored
    If the buf_t's length could potentially become greater than INT_MAX - 1,
    it sets off an IF_BUG_ONCE in buf_read_from_tls().
    
    All of the rest of the buffers.c code has similar BUG/asserts for this
    invariant.
    fd3e0c15