]> git.tuebingen.mpg.de Git - paraslash.git/commit
populate_user_list(): Use correct buffer size.
authorAndre Noll <maan@systemlinux.org>
Thu, 22 Oct 2009 20:50:58 +0000 (22:50 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 22 Oct 2009 20:50:58 +0000 (22:50 +0200)
commitc630fae7b18ec399c45305737f10ab47733dc63e
treef6fb7e366c219375f346b01457cbcbae462678c0
parentb3490104baea629c0d5c472abc63f24b4fe01000
populate_user_list(): Use correct buffer size.

"line" is defined as a 255 byte buffer. Use sizeof(line) rather than MAXLINE in the call
to para_fgets().

This is not a real bug though as MAXLINE happens to be 255 as well.
user_list.c