Michael Forney
fa0e5d6378
libutil/unescape: NULL terminate unescaped string
...
In commit 30fd43d7f3
, unescape was
simplified significantly, but the new version failed to NULL terminate
the resulting string.
This causes bad behavior in various utilities, for example tr:
Broken:
$ echo b2 | tr '\142' '\143'
c3
Fixed:
$ echo b2 | tr '\142' '\143'
c2
This bug breaks libtool's usage of tr, causing gcc to fail to build with
sbase.
2017-03-24 10:40:32 +01:00
..
2015-04-05 09:13:56 +01:00
2016-12-27 14:50:58 +01:00
2016-12-27 14:02:32 +01:00
2015-02-11 01:17:21 +00:00
2015-11-13 14:31:34 +00:00
2015-12-21 14:13:36 +00:00
2015-09-30 19:44:10 +01:00
2014-11-17 16:48:34 +00:00
2015-03-02 22:50:38 +01:00
2015-10-26 16:53:28 +00:00
2016-03-10 08:48:09 +00:00
2015-04-29 16:42:49 +01:00
2016-07-09 10:09:50 +01:00
2014-11-17 16:48:34 +00:00
2016-03-10 08:48:09 +00:00
2015-04-20 18:04:08 +01:00
2016-12-27 13:33:35 +01:00
2015-11-26 10:35:46 +00:00
2015-04-21 18:00:47 +01:00
2015-03-10 22:19:19 +01:00
2015-04-20 11:12:40 +01:00
2015-04-20 11:12:40 +01:00
2014-11-17 16:48:34 +00:00
2016-02-24 10:15:16 +00:00
2016-02-24 10:15:16 +00:00
2016-02-24 10:15:16 +00:00
2016-02-24 10:40:57 +00:00
2016-02-24 10:40:57 +00:00
2016-02-24 10:15:16 +00:00
2015-09-30 19:44:10 +01:00
2015-03-17 11:24:49 +01:00
2015-03-17 11:24:49 +01:00
2015-01-25 17:48:11 +00:00
2015-02-09 22:21:23 +01:00
2017-03-24 10:40:32 +01:00