Files
pytorch/caffe2/operators
Michael Antonov a6949abb15 Guard all Caffe2 protobuf string serializations with CAFFE_ENFORCE (fixed reverted bug) (#12848)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12848

Updated all non-test uses of protobuf::MessageLite::SerializeAsString to call
SerializeAsString_EnforceCheck so that the return value is checked and can
throw an exception if failing.

Most of the affected code was called from classes derived from  BlobSerializeBase.
Didn't touch most tests and ENFORCE calls because they usually do checks
anyway.

Original commit changeset: c0760e73ecc7

Reviewed By: dzhulgakov

Differential Revision: D10453456

fbshipit-source-id: d2f2b7b4578e721924354149f08f627c7e3bf070
2018-10-23 16:21:26 -07:00
..
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-28 14:55:30 -07:00
2018-03-27 13:10:18 -07:00
2018-10-04 02:09:56 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-07-10 18:55:31 -07:00
2018-07-10 18:55:31 -07:00
2018-10-04 02:09:56 -07:00
2018-06-28 14:55:30 -07:00
2018-06-28 14:55:30 -07:00
2018-10-10 18:09:46 -07:00
2018-10-10 18:09:46 -07:00
2018-10-10 18:09:46 -07:00
2018-03-27 13:10:18 -07:00
2018-10-04 02:09:56 -07:00
2018-07-12 23:18:56 -07:00
2018-07-12 23:18:56 -07:00
2018-07-27 22:01:23 -07:00
2018-09-10 12:40:16 -07:00
2018-06-18 16:33:47 -07:00
2018-05-19 23:10:48 -07:00
2018-03-27 13:10:18 -07:00
2017-11-09 16:48:14 -08:00
2018-03-27 13:10:18 -07:00
2018-03-27 13:10:18 -07:00
2018-03-27 13:10:18 -07:00
2018-08-29 11:40:08 -07:00
2017-10-25 19:49:55 -07:00
2018-10-19 11:40:12 -07:00
2018-10-19 11:40:12 -07:00
2018-10-19 11:40:12 -07:00
2018-03-27 13:10:18 -07:00
2018-09-10 12:40:16 -07:00
2018-03-30 21:00:44 -07:00
2018-03-27 13:10:18 -07:00
2018-04-23 15:01:56 -07:00
2018-04-23 15:01:56 -07:00
2018-03-27 13:10:18 -07:00
2018-03-27 13:10:18 -07:00
2018-08-29 11:40:08 -07:00
2018-09-01 21:41:25 -07:00
2018-10-18 14:22:55 -07:00
2018-04-11 23:36:05 -07:00
2018-03-27 13:10:18 -07:00
2018-03-27 13:10:18 -07:00
2017-11-13 18:05:14 -08:00
2018-10-15 13:33:18 -07:00
2018-05-29 11:38:02 -07:00
2018-09-05 11:10:27 -07:00
2018-03-27 13:10:18 -07:00
2018-03-27 13:10:18 -07:00
2018-06-07 15:34:22 -07:00
2018-07-12 23:18:56 -07:00
2018-07-12 23:18:56 -07:00
2018-07-12 23:18:56 -07:00
2018-03-27 13:10:18 -07:00
2018-06-28 14:55:30 -07:00
2018-06-28 14:55:30 -07:00
2018-07-12 23:18:56 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-07-10 18:55:31 -07:00
2018-07-10 18:55:31 -07:00
2018-10-12 09:58:44 -07:00
2018-09-03 19:39:33 -07:00
2018-06-26 14:55:48 -07:00
2018-08-29 11:40:08 -07:00
2018-10-15 16:53:18 -07:00
2018-06-26 14:55:48 -07:00
2018-06-26 14:55:48 -07:00
2018-07-11 13:59:50 -07:00
2018-07-11 13:59:50 -07:00
2018-03-27 13:10:18 -07:00
2018-03-27 13:10:18 -07:00
2018-10-04 02:09:56 -07:00
2018-03-27 13:10:18 -07:00
2018-09-10 12:40:16 -07:00