diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2010-02-24 00:13:08 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2010-02-24 00:13:08 -0800 |
commit | 647ec2123df81073de01a1799393fb1dbf738c29 (patch) | |
tree | da24d1299365778651a1371445e09ad1f9b946e9 /ChangeLog | |
parent | 8679f74687ce18576026d48ec4ca5a37c084e0e8 (diff) | |
download | txr-647ec2123df81073de01a1799393fb1dbf738c29.tar.gz txr-647ec2123df81073de01a1799393fb1dbf738c29.tar.bz2 txr-647ec2123df81073de01a1799393fb1dbf738c29.zip |
* lib.c (init_str): Bugfix: copy only len characters, not len + 1, so
that we don't clobber the null terminator in the target string, or try
read past the end of the source data. This affects the @(freeform)
directive.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2010-02-24 Kaz Kylheku <kkylheku@gmail.com> + + * lib.c (init_str): Bugfix: copy only len characters, not len + 1, so + that we don't clobber the null terminator in the target string, or try + read past the end of the source data. This affects the @(freeform) + directive. + 2010-01-26 Kaz Kylheku <kkylheku@gmail.com> Version 033 |