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-04-14 16:32:27 +00:00
2016-03-24 18:47:19 +00:00
2016-04-06 16:50:18 +00:00
2014-06-23 08:25:03 +00:00
2015-09-20 20:53:24 +00:00
2016-04-20 01:21:39 +00:00
2015-11-25 19:44:43 +00:00
2016-04-19 22:59:21 +00:00
2016-01-21 18:17:19 +00:00
2016-03-24 18:47:19 +00:00
2016-03-15 19:26:32 +00:00
2016-04-06 16:09:10 +00:00
2016-04-18 21:05:15 +00:00
2016-04-18 21:05:15 +00:00
2016-04-21 07:36:11 +00:00
2014-08-12 12:25:56 +00:00
2016-03-30 14:42:09 +00:00
2014-08-20 14:58:25 +00:00
2016-04-20 16:03:53 +00:00
2016-02-02 23:33:58 +00:00
2016-04-10 19:33:58 +00:00
2016-04-16 17:52:00 +00:00
2016-04-16 17:52:00 +00:00
2014-10-01 08:26:51 +00:00
2016-04-23 20:45:09 +00:00
2016-04-18 21:05:15 +00:00
2016-03-24 18:47:19 +00:00
2016-04-18 21:05:15 +00:00
2016-04-18 21:05:15 +00:00
2016-04-10 19:33:58 +00:00
2016-03-30 14:42:09 +00:00
2016-03-30 13:26:35 +00:00
2016-04-18 21:05:15 +00:00
2016-03-26 03:46:12 +00:00
2016-02-26 22:14:19 +00:00
2016-03-31 23:55:19 +00:00
2016-04-20 00:19:04 +00:00
2016-04-10 19:33:58 +00:00
2016-04-18 21:05:15 +00:00
2016-04-18 21:05:15 +00:00
2013-11-17 22:52:17 +00:00
2016-04-04 23:55:32 +00:00
2016-02-24 17:20:11 +00:00
2014-04-03 17:31:38 +00:00