swift
714cefbb - Add missing error handling to ReflectionContext

Commit
5 years ago
Add missing error handling to ReflectionContext We found crashes deep in TypeRefBuilder that could traced back to a likely nullptr RemoteRef<> section address. It is very plausible that this is connected to a failed MemoryReader::getBytes() call, which can fail but isn't checked. This patch adds missing error checks to every call to readBytes(). rdar://74445486
Author
Committer
Parents
Loading