1
0
mirror of synced 2026-02-07 17:11:19 +00:00
Files
YosysHQ.yosys/kernel
Charlotte 28bd3a4b5d fmt: don't overrun fmt string buffer
For input like "{", "{1", etc., we would exit the loop due to
`i < fmt.size()` no longer being the case, and then check if
`++i == fmt.size()`.  That would increment i to `fmt.size() + 1`,
and so execution continues.

The intention is to move i beyond the ':', so we do it only in that
case instead.
2023-08-11 04:46:52 +02:00
..
2022-11-30 18:24:35 +01:00
2022-01-28 23:34:41 +01:00
2023-08-11 04:46:52 +02:00
2022-05-27 12:37:03 +02:00
2021-10-08 15:44:07 +02:00
2023-08-11 04:46:52 +02:00
2023-08-11 04:46:52 +02:00
2022-05-13 00:37:14 +02:00
2022-01-28 23:34:41 +01:00
2022-11-30 18:24:35 +01:00
2023-04-17 10:53:05 -07:00
2023-01-11 18:07:16 +01:00