Print this page
11414 Fix smatch issue in libdemangle

*** 237,247 **** return (B_FALSE); } rem = sv_remaining(&sv); ! if (rem < len || len > SIZE_MAX) { st->rds_error = EINVAL; return (B_FALSE); } /* Is this the last segment before the terminating E? */ --- 237,247 ---- return (B_FALSE); } rem = sv_remaining(&sv); ! if (rem < len || len == SIZE_MAX) { st->rds_error = EINVAL; return (B_FALSE); } /* Is this the last segment before the terminating E? */