Don't access `name[1] if the string is only of length 1. Avoids a
crash/assertion failure when parsing the string -.
Test Plan:
Debug a swift binary, set a breakpoint, watch lldb not crash
Original change by Paul Menage <menage@fb.com>
Differential D33853
Avoid invalid string access in ObjCLanguage::MethodName::SetName sas on Jun 2 2017, 3:22 PM. Authored by
Details Don't access `name[1] if the string is only of length 1. Avoids a Test Plan: Original change by Paul Menage <menage@fb.com>
Diff Detail
|