commit | cf5d7e83fd9d5e4303bc803bc3418429822c1f7d | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Tue Oct 08 10:02:23 2019 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Thu Oct 10 09:21:18 2019 -0700 |
tree | 99454857a931f709fdc04c5af0eab8a0b2dc2fed | |
parent | c80550534460ded52ad4795db1923c2801d9080c [diff] |
Fix UB in class NullOr NullOr now stores the references a pointers internally. This fixes UB where the internal reference was initalized by dereferencing nullptr. Test: Compiles Bug: 121390225 Change-Id: I2073e5aeac401309aa63b08e05db3c467fab6b69