Menu

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.

     
  • Yegor Yefremov

    Yegor Yefremov - 2013-06-25

    patch

     

Log in to post a comment.