Brian Barrett
abbe2ffb9f
util: Fix graph allocation size
...
Fix an allocation bug that could occur on non-LP64 platforms.
match_edges_out is an array of integers representing the
edges of the graph (where vertices are ints), with two ints
for every edge. The previous code allocated enough space
for num_dges * sizeof(int*), which happens to be the same
as num_edges * 2 * sizeof(int) on LP64 platforms, but would
be wrong on all other platforms.
Fixes: CID 1417754
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2017-09-17 19:49:26 +00:00
..
2016-06-01 11:13:31 +09:00
2016-08-09 17:12:30 +09:00
2016-08-03 09:18:12 -07:00
2013-01-15 01:27:36 +00:00
2013-01-15 01:27:36 +00:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2017-09-15 15:08:47 -07:00
2017-09-17 19:49:26 +00:00
2017-09-15 15:08:47 -07:00
2015-06-23 20:59:57 -07:00
2017-07-11 02:13:23 -04:00
2017-07-11 02:13:23 -04:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-07-11 02:13:22 -04:00
2017-06-08 19:34:48 +09:00
2016-09-23 11:22:19 +09:00
2016-05-18 16:25:51 +02:00
2017-07-01 02:24:14 +07:00
2017-07-01 02:24:14 +07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-01-18 12:05:47 -08:00
2017-06-20 12:37:12 -06:00
2015-06-23 20:59:57 -07:00
2017-06-23 11:12:14 -07:00
2017-05-17 01:12:49 -04:00
2017-07-11 14:40:37 +09:00
2017-06-23 08:03:01 -06:00
2016-03-08 10:06:14 -07:00
2015-06-23 20:59:57 -07:00
2017-09-15 15:08:47 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-03-01 13:21:03 -05:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2017-01-19 14:02:47 +09:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-06-27 16:52:56 -05:00
2015-06-25 10:14:13 -06:00
2016-08-26 09:42:45 +09:00
2016-01-26 13:36:21 -06:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-01-02 14:04:24 -08:00
2017-02-28 07:48:42 -08:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-06-08 19:34:48 +09:00
2017-01-26 11:55:32 -06:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2017-04-11 12:08:48 +06:00
2017-04-11 17:29:27 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00