Files
tor/changes
Nick Mathewson 511822529a Revise fix for bug 32178 (spaces at end of log msg).
The loop in the earlier patch would invoke undefined behavior in two
ways: First, it would check whether it was looking at a space before
it checked whether the pointer was in-range.  Second, it would let a
pointer reach a position _before_ the start of a string, which is
not allowed.

I've removed the assertion about empty messages: empty messages can
be their own warning IMO.

I've also added tests for this formatting code, to make sure it
actually works.
2020-10-28 09:41:51 -04:00
..
2020-07-15 22:01:08 +01:00
2020-09-23 12:09:27 -04:00
2020-07-23 08:25:22 -04:00
2020-08-05 16:37:39 -04:00
2020-07-29 00:04:42 -04:00
2020-07-07 08:00:30 -04:00
2020-07-10 09:25:28 -04:00
2020-07-13 09:46:11 -04:00
2020-08-25 10:38:48 -04:00
2020-07-16 09:02:10 -04:00
2020-07-14 09:02:03 -04:00
2020-10-20 09:03:51 -04:00
2020-07-21 13:02:38 -04:00
2020-10-23 10:32:08 -04:00
2020-09-22 11:06:34 -04:00