buffer: fix wrapping

  • 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.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks