Print this page
11414 Fix smatch issue in libdemangle

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