diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-09 02:38:01 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-09 02:38:01 +0000 |
commit | 440fe9e7641769733e392f17815cd2861e48463c (patch) | |
tree | cb8487f8fa2c96a8bd977b554a0c26568286e254 /tr.c | |
parent | 0dcb85e6c56551fd0562ed9b63a3d87963eee51e (diff) | |
download | busybox-w32-440fe9e7641769733e392f17815cd2861e48463c.tar.gz busybox-w32-440fe9e7641769733e392f17815cd2861e48463c.tar.bz2 busybox-w32-440fe9e7641769733e392f17815cd2861e48463c.zip |
Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +
GROWBY - 1, then it writes the null character just after the buffer. Yipe.
Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt!
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@786 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tr.c')
0 files changed, 0 insertions, 0 deletions