Hi,

There's a small bug in read_line.c around line 87:

instead of
  n = A_READ(read, MAX_LINE - closure->pos, closure->buffer);

it should be 

  n = A_READ(read, MAX_LINE - closure->pos, closure->buffer + closure->pos);

You can trigger the bug, if you send a packet containing no newlines to this
readline handler.

-- 
Bazsi

Reply via email to