Disable HWASan if UBSan is enabled
Test: `atest inputflinger_tests libinput_tests` does not crash Bug: 251249010 Change-Id: Ic6bab1d2361ecfbad038acf9f124d4b9d4cee6d1
This commit is contained in:
@@ -564,6 +564,11 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
|
|||||||
s.Scudo = nil
|
s.Scudo = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if Bool(s.Undefined) || Bool(s.All_undefined) || len(s.Misc_undefined) > 0 {
|
||||||
|
// TODO(b/251249010): re-enable Hwaddress with UBSan once fixed.
|
||||||
|
s.Hwaddress = nil
|
||||||
|
}
|
||||||
|
|
||||||
if Bool(s.Hwaddress) {
|
if Bool(s.Hwaddress) {
|
||||||
s.Address = nil
|
s.Address = nil
|
||||||
s.Thread = nil
|
s.Thread = nil
|
||||||
|
Reference in New Issue
Block a user