Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 618390
Collapse All | Expand All

(-)a/gcc/ubsan.c (-1 / +1 lines)
Lines 1469-1475 ubsan_use_new_style_p (location_t loc) Link Here
1469
1469
1470
  expanded_location xloc = expand_location (loc);
1470
  expanded_location xloc = expand_location (loc);
1471
  if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
1471
  if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
1472
      || xloc.file == '\0' || xloc.file[0] == '\xff'
1472
      || xloc.file[0] == '\0' || xloc.file[0] == '\xff'
1473
      || xloc.file[1] == '\xff')
1473
      || xloc.file[1] == '\xff')
1474
    return false;
1474
    return false;
1475
1475

Return to bug 618390