mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
11 lines
355 B
Diff
11 lines
355 B
Diff
|
--- gcc-6.3.0-orig/gcc/ubsan.c
|
||
|
+++ gcc-6.3.0/gcc/ubsan.c
|
||
|
@@ -1471,7 +1471,7 @@
|
||
|
|
||
|
expanded_location xloc = expand_location (loc);
|
||
|
if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
|
||
|
- || xloc.file == '\0' || xloc.file[0] == '\xff'
|
||
|
+ || xloc.file == NULL || xloc.file[0] == '\xff'
|
||
|
|| xloc.file[1] == '\xff')
|
||
|
return false;
|