Pedro F. Giffuni
039b877ef0
regex: prevent two improbable signed integer overflows.
...
In matcher() we used an integer to index nsub of type size_t.
In print() we used an integer to index nstates of type sopno,
typedef'd long.
In both cases the indexes never take negative values.
Match the types to avoid any error.
MFC after: 5 days
2016-04-23 20:45:09 +00:00
..
2016-03-14 18:54:29 +00:00
2016-03-26 03:46:12 +00:00
2016-03-24 21:48:10 +00:00
2016-02-04 21:16:35 +00:00
2016-04-18 14:41:30 +00:00
2016-04-23 20:45:09 +00:00
2016-03-14 18:54:29 +00:00
2016-04-16 02:32:12 +00:00
2016-04-16 02:32:12 +00:00
2016-03-26 03:46:12 +00:00
2016-04-18 14:37:26 +00:00
2016-04-04 23:55:32 +00:00
2016-04-04 23:55:32 +00:00
2016-04-21 12:58:29 +00:00
2016-04-11 15:24:59 +00:00
2016-04-21 12:58:29 +00:00
2016-04-21 12:58:29 +00:00
2016-02-04 21:16:35 +00:00
2016-04-11 15:24:59 +00:00
2016-04-19 15:18:31 +00:00
2016-04-16 02:32:12 +00:00
2016-04-18 15:08:31 +00:00
2016-04-22 18:05:34 +00:00
2016-04-18 07:36:24 +00:00
2016-02-04 21:16:35 +00:00
2016-04-16 02:32:12 +00:00
2016-04-19 02:06:02 +00:00
2016-04-04 23:55:32 +00:00
2016-04-16 02:32:12 +00:00
2016-03-14 18:54:29 +00:00
2016-04-11 15:24:59 +00:00
2016-04-11 15:24:59 +00:00
2016-03-14 18:54:29 +00:00
2016-04-13 16:19:50 +00:00
2016-04-16 02:32:12 +00:00
2016-04-16 02:32:12 +00:00
2016-04-04 23:55:32 +00:00
2016-04-21 19:59:55 +00:00
2016-04-16 02:32:12 +00:00
2016-03-14 18:54:29 +00:00