Files
bison/src
Akim Demaille 952479fca7 scan: fix typo in UTF-8 escape
We had:

```
-mbchar    ...|\xF0[\x\90-\xBF]([\x80-\xBF]{2})|...
+mbchar    ...|\xF0[\x90-\xBF]([\x80-\xBF]{2})|...
```

so a precise sequence that matches the incorrect regex can let NUL
bytes pass through, which triggers an assertion violation downstream.
It is a pity that Flex does not report an error for such input.

Reported by Ahcheong Lee <ahcheong.lee@gmail.com>.
<https://lists.gnu.org/r/bug-bison/2021-04/msg00003.html>

* src/scan-gram.l (mbchar): Fix the bad regex.
* tests/input.at (Invalid inputs): Check that case.
2021-08-03 12:22:52 +02:00
..
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-03-10 06:43:00 +01:00
2021-02-26 07:16:57 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2020-04-29 08:47:04 +02:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 14:32:00 +01:00
2021-02-26 07:16:57 +01:00
2021-01-30 07:32:03 +01:00
2021-02-25 06:55:08 +01:00
2021-02-01 06:51:15 +01:00
2021-02-26 07:36:11 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2008-11-15 10:47:15 +01:00
2008-11-15 10:47:15 +01:00
2021-08-03 12:22:52 +02:00
2008-11-15 10:47:15 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2019-01-12 10:45:21 +01:00