Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

buffer: fix wrapping

2013-06-25
2013-07-05
  • Yegor Yefremov
    Yegor Yefremov
    2013-06-25

    buf->pos' is not allowed to be equal to 'buf->maxsize'. In addition
    'end' is not allowed to be greater than 'buf->maxsize' and 'availend'
    must be greater than 0.