Commit Graph

6 Commits

Author SHA1 Message Date
Mihai Maruseac
22e07fb204 Fix multiple vulnerabilities in tf.experimental.dlpack.to_dlpack.
We have a use after free caused by memory coruption, a segmentation fault caused by memory corruption, several memory leaks and an undefined behavior when taking the reference of a nullptr.

PiperOrigin-RevId: 332568894
Change-Id: Ife0fc05e103b35325094ae5d822ee5fdea764572
2020-09-18 19:19:43 -07:00
Smit Hinsu
af487e85ce Disable dlpack test in asan mode
Currently test has an undefined behavior:

SanitizerError
UndefinedBehaviorSanitizer: null-pointer-use include/c++/v1/vector:1551:12
PiperOrigin-RevId: 318166647
Change-Id: Ie0c3cac1c2b13738ed9cb9942a0b567059a98876
2020-06-24 16:51:08 -07:00
TensorFlower Gardener
9cd1a63a74 Merge pull request from VoVAllen:dlpack
PiperOrigin-RevId: 297728301
Change-Id: I22a74c21f3459189f3e36a94ad521cdedb9b761b
2020-02-27 17:38:16 -08:00
VoVAllen
6ef713fec6 fix sanity check 2020-02-21 12:03:11 +00:00
VoVAllen
cae654ea99 space 2020-02-21 09:33:20 +00:00
VoVAllen
883dcc553a add python api and test 2020-02-19 18:49:03 +00:00