Alexey Samsonov
c5843d04e0
[Object, MachO] Don't crash on invalid MachO load commands.
...
Summary:
Currently all load commands are parsed in MachOObjectFile constructor.
If the next load command cannot be parsed, or if command size is too
small, properly report it through the error code and fail to construct
the object, instead of crashing the program.
Test Plan: regression test suite
Reviewers: rafael, filcab
Subscribers: llvm-commits
llvm-svn: 239080
2015-06-04 19:57:46 +00:00
..
2015-01-29 06:56:24 +00:00
2014-11-06 19:00:13 +00:00
2015-06-04 19:45:22 +00:00
2015-05-08 07:04:59 +00:00
2015-06-04 15:25:47 +00:00
2013-07-16 23:17:22 +00:00
2014-05-24 08:47:11 +00:00
2015-03-02 21:33:18 +00:00
2014-11-04 13:41:33 +00:00
2015-03-02 21:33:18 +00:00
2015-03-03 15:54:48 +00:00
2014-07-08 23:47:31 +00:00
2015-03-02 21:33:18 +00:00
2013-07-22 15:11:51 +00:00
2014-11-12 01:37:45 +00:00
2014-12-16 01:43:41 +00:00
2015-03-02 21:33:18 +00:00
2013-07-17 02:21:10 +00:00
2014-10-31 05:07:00 +00:00
2014-10-31 05:07:00 +00:00
2013-08-08 22:27:13 +00:00
2014-06-11 19:05:50 +00:00
2013-06-05 01:33:53 +00:00
2015-01-23 21:58:09 +00:00
2015-03-02 21:33:18 +00:00
2015-02-27 18:58:23 +00:00
2013-06-13 22:19:48 +00:00
2015-06-04 19:57:46 +00:00
2014-07-04 15:58:00 +00:00
2014-11-04 13:19:29 +00:00
2014-10-10 18:33:51 +00:00
2014-11-04 13:19:29 +00:00
2014-11-04 13:19:29 +00:00
2014-10-10 18:33:51 +00:00
2014-11-04 13:19:29 +00:00
2014-11-04 13:19:29 +00:00
2014-11-03 14:09:47 +00:00
2014-10-31 05:07:00 +00:00
2014-06-20 00:04:16 +00:00
2014-01-29 04:08:05 +00:00
2015-02-17 18:54:22 +00:00
2014-05-09 23:57:49 +00:00
2015-05-22 13:28:35 +00:00
2014-08-08 16:18:29 +00:00
2013-11-02 05:03:24 +00:00
2014-03-20 06:29:02 +00:00
2014-10-10 00:17:57 +00:00
2014-10-10 06:59:05 +00:00
2014-04-09 16:38:15 +00:00
2015-02-21 04:28:26 +00:00
2015-06-03 05:14:22 +00:00
2014-12-19 02:31:01 +00:00
2012-08-02 21:52:49 +00:00
2014-06-30 20:03:02 +00:00
2014-12-04 07:37:02 +00:00
2014-08-17 19:09:37 +00:00
2014-10-29 18:37:13 +00:00
2013-04-16 10:53:11 +00:00
2013-01-10 22:40:50 +00:00
2015-05-22 15:43:00 +00:00
2014-03-24 05:00:34 +00:00
2015-06-03 05:14:22 +00:00
2013-02-07 18:26:45 +00:00
2013-05-30 03:05:14 +00:00
2014-07-08 23:47:31 +00:00
2014-07-01 17:19:10 +00:00
2014-05-31 04:51:07 +00:00
2013-06-10 23:44:15 +00:00
2014-11-04 13:33:36 +00:00
2013-06-19 00:55:32 +00:00
2014-05-31 04:51:07 +00:00
2015-04-22 15:26:43 +00:00
2014-04-30 19:38:09 +00:00
2014-05-16 16:01:00 +00:00
2014-05-16 16:01:00 +00:00
2014-03-24 05:00:34 +00:00
2013-06-22 01:38:00 +00:00
2014-11-06 22:46:24 +00:00
2014-05-15 16:14:02 +00:00