Junio C Hamano
11529ecec9
Merge branch 'jk/tighten-alloc'
...
Update various codepaths to avoid manually-counted malloc().
* jk/tighten-alloc: (22 commits)
ewah: convert to REALLOC_ARRAY, etc
convert ewah/bitmap code to use xmalloc
diff_populate_gitlink: use a strbuf
transport_anonymize_url: use xstrfmt
git-compat-util: drop mempcpy compat code
sequencer: simplify memory allocation of get_message
test-path-utils: fix normalize_path_copy output buffer size
fetch-pack: simplify add_sought_entry
fast-import: simplify allocation in start_packfile
write_untracked_extension: use FLEX_ALLOC helper
prepare_{git,shell}_cmd: use argv_array
use st_add and st_mult for allocation size computation
convert trivial cases to FLEX_ARRAY macros
use xmallocz to avoid size arithmetic
convert trivial cases to ALLOC_ARRAY
convert manual allocations to argv_array
argv-array: add detach function
add helpers for allocating flex-array structs
harden REALLOC_ARRAY and xcalloc against size_t overflow
tree-diff: catch integer overflow in combine_diff_path allocation
...
2016-02-26 13:37:16 -08:00
..
2015-05-21 13:03:37 -07:00
2016-02-24 13:31:57 -08:00
2016-02-26 13:37:16 -08:00
2013-02-02 21:46:52 -08:00
2013-02-01 13:53:25 -08:00
2016-01-12 15:16:54 -08:00
2013-04-03 16:14:19 -07:00
2015-05-21 13:03:37 -07:00
2015-04-21 12:12:19 -07:00
2016-02-24 13:25:58 -08:00
2013-11-12 10:47:17 -08:00
2015-03-13 22:13:46 -07:00
2015-01-28 22:22:03 -08:00
2015-05-12 22:13:39 -07:00
2015-11-24 18:38:46 -05:00
2010-08-20 10:53:56 -07:00
2014-10-10 16:02:26 -07:00
2016-02-24 13:25:54 -08:00
2015-05-28 12:38:46 -07:00
2016-01-21 09:06:35 -08:00
2016-01-05 13:42:39 -08:00
2011-07-06 14:26:26 -07:00
2015-03-13 22:13:46 -07:00
2013-02-01 13:53:33 -08:00
2014-02-28 09:55:35 -08:00
2015-10-16 14:32:53 -07:00
2015-11-04 14:20:47 -08:00
2015-12-16 10:18:34 -08:00
2015-10-15 15:43:38 -07:00
2016-02-01 13:07:41 -08:00
2015-10-16 15:27:52 -07:00
2015-10-16 15:27:52 -07:00
2016-02-15 15:32:32 -08:00
2013-07-13 10:19:37 -07:00
2015-12-11 11:14:15 -08:00
2011-03-11 10:59:16 -05:00
2015-11-01 14:08:17 -08:00
2016-01-05 13:42:39 -08:00
2013-11-27 12:16:49 -08:00
2011-07-06 14:26:26 -07:00
2016-02-09 10:07:34 -08:00
2016-02-17 10:13:28 -08:00
2014-01-27 08:34:34 -08:00
2015-10-16 15:27:52 -07:00
2016-01-05 13:42:39 -08:00
2016-02-22 13:14:48 -08:00
2014-03-31 15:16:22 -07:00
2014-09-16 11:11:58 -07:00
2013-02-01 13:53:33 -08:00
2015-03-24 08:08:02 -07:00
2013-09-06 14:49:06 -07:00
2013-02-01 13:53:33 -08:00
2014-11-04 13:14:44 -08:00
2015-03-13 22:13:46 -07:00
2014-05-21 13:57:10 -07:00
2015-08-31 15:39:10 -07:00
2011-07-06 14:26:26 -07:00
2013-05-20 15:50:44 -07:00
2011-05-26 22:15:39 -07:00
2014-03-31 15:16:22 -07:00
2014-10-28 10:36:57 -07:00
2015-05-12 22:14:46 -07:00
2015-08-03 11:01:23 -07:00
2015-05-12 22:14:46 -07:00
2015-11-04 14:20:45 -08:00
2014-11-04 13:14:44 -08:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:10 -08:00
2016-02-05 14:54:09 -08:00
2011-07-06 14:26:26 -07:00
2015-06-23 14:27:37 -07:00
2015-10-20 15:22:40 -07:00
2015-10-16 15:27:52 -07:00
2016-01-20 11:43:39 -08:00
2013-02-01 13:53:33 -08:00
2015-10-16 15:27:52 -07:00
2014-05-21 13:57:10 -07:00
2015-06-16 14:33:45 -07:00
2013-02-01 13:53:33 -08:00
2011-07-06 14:26:26 -07:00
2015-03-10 15:19:05 -07:00
2013-05-28 08:07:20 -07:00
2013-02-01 13:53:33 -08:00
2015-03-13 22:13:46 -07:00
2015-03-13 22:13:46 -07:00
2016-01-14 12:22:17 -08:00
2015-10-07 10:37:48 -07:00
2016-01-18 19:48:43 -08:00
2016-01-19 10:07:56 -08:00
2011-03-11 10:59:16 -05:00
2014-11-25 15:24:55 -08:00
2011-07-06 14:26:26 -07:00
2013-10-29 13:06:08 -07:00
2015-10-29 12:10:23 -07:00
2013-04-15 11:08:37 -07:00
2011-07-06 14:26:26 -07:00
2013-09-04 15:02:56 -07:00
2015-10-16 14:32:33 -07:00
2013-02-01 13:53:33 -08:00
2014-04-24 11:29:05 -07:00
2015-10-16 15:27:52 -07:00
2011-07-06 14:26:26 -07:00
2014-01-07 14:33:04 -08:00
2013-09-04 15:03:03 -07:00
2015-10-16 14:32:40 -07:00
2015-12-15 08:02:19 -08:00
2015-05-12 22:14:46 -07:00
2011-07-06 14:26:26 -07:00
2013-07-18 16:23:46 -07:00
2011-07-06 14:26:26 -07:00
2015-10-16 15:27:52 -07:00
2014-10-13 13:35:18 -07:00
2015-06-29 08:48:44 -07:00
2016-01-13 12:59:15 -08:00
2016-02-24 13:25:54 -08:00
2015-09-01 11:10:07 -07:00
2014-05-21 13:57:10 -07:00
2015-12-08 14:05:01 -08:00
2015-03-13 22:13:46 -07:00
2015-07-21 14:08:14 -07:00
2011-07-06 14:26:26 -07:00
2014-11-11 14:47:04 -08:00
2014-11-11 14:47:04 -08:00
2013-02-01 14:12:34 -08:00
2013-02-07 14:41:45 -08:00
2015-11-04 14:20:47 -08:00
2016-02-01 13:07:41 -08:00
2014-07-27 15:14:18 -07:00
2015-09-14 12:50:33 -07:00
2015-03-13 22:13:46 -07:00
2014-04-08 12:00:28 -07:00
2015-10-05 12:30:13 -07:00
2015-07-15 10:30:54 -07:00
2016-01-05 13:42:39 -08:00
2014-01-07 14:34:06 -08:00
2015-11-20 08:02:06 -05:00
2015-08-19 12:58:45 -07:00
2012-03-28 11:18:35 -07:00
2011-09-11 21:52:18 -07:00
2013-10-18 13:50:12 -07:00
2014-05-08 10:26:26 -07:00
2013-04-21 23:11:02 -07:00
2014-03-31 15:16:22 -07:00
2015-10-16 15:27:52 -07:00
2015-10-16 15:27:52 -07:00
2015-05-12 22:14:46 -07:00
2014-10-13 13:35:18 -07:00
2015-08-31 11:29:04 -07:00
2015-09-21 10:48:23 -07:00
2015-10-16 15:27:52 -07:00
2015-12-04 13:08:05 -08:00
2015-09-17 12:11:46 -07:00
2012-10-21 12:17:38 -07:00
2016-01-26 13:34:10 -08:00
2015-07-28 13:21:59 -07:00
2011-07-06 14:26:26 -07:00
2015-10-16 15:27:52 -07:00
2016-01-27 12:30:00 -08:00
2015-07-21 14:08:35 -07:00
2011-07-06 14:26:26 -07:00
2015-10-22 10:16:12 -07:00
2013-02-01 13:53:33 -08:00
2013-02-01 13:53:33 -08:00
2015-06-22 14:20:47 -07:00
2015-05-17 11:24:57 -07:00
2015-06-22 14:20:47 -07:00
2014-05-21 13:57:10 -07:00
2013-08-13 09:01:54 -07:00
2016-01-22 14:28:42 -08:00
2011-07-06 14:26:26 -07:00
2016-02-24 13:25:59 -08:00
2015-07-23 14:44:51 -07:00
2014-05-21 13:57:10 -07:00
2016-02-01 13:07:41 -08:00
2015-03-13 22:13:46 -07:00
2014-10-10 16:02:26 -07:00
2015-05-12 22:14:46 -07:00
2015-10-22 10:14:44 -07:00
2014-10-10 16:02:26 -07:00
2015-01-08 14:28:43 -08:00
2016-02-15 15:32:33 -08:00
2015-04-20 11:05:50 -07:00
2015-03-02 14:59:55 -08:00
2013-02-01 13:53:33 -08:00
2015-08-19 12:41:38 -07:00
2015-07-20 11:07:18 -07:00
2015-10-22 10:16:12 -07:00
2014-11-19 13:47:59 -08:00
2016-02-01 13:07:41 -08:00
2015-07-21 12:45:27 -07:00
2014-02-20 14:14:58 -08:00
2013-02-01 13:53:33 -08:00
2016-02-05 14:54:19 -08:00
2014-04-17 11:14:57 -07:00
2015-07-01 14:55:53 -07:00
2011-11-08 13:37:10 -08:00
2014-04-17 11:14:58 -07:00
2015-04-20 11:05:50 -07:00
2013-01-05 23:41:42 -08:00
2015-01-22 13:44:14 -08:00
2015-06-25 11:02:17 -07:00
2014-03-31 15:16:22 -07:00
2014-04-03 13:39:03 -07:00
2015-08-24 10:33:15 -07:00
2016-01-12 15:10:01 -08:00
2014-06-12 09:59:13 -07:00
2015-10-05 12:30:13 -07:00
2016-02-10 14:20:10 -08:00
2011-11-22 18:16:59 -08:00
2015-03-28 09:33:10 -07:00
2015-10-22 10:16:12 -07:00
2016-02-01 13:07:41 -08:00
2012-08-07 14:30:52 -07:00
2016-02-05 14:54:19 -08:00