summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
authorKevin Backhouse <[email protected]>2022-07-12 19:48:10 +0100
committer<[email protected]>2022-07-12 11:48:10 -0700
commit8c1808151f4c1b44e8b0fe935c571f05b2641b8b ()
treeed7dc9e5aac6945cae8df53e3f3ec1df6e120319 /regparse.c
parent8309b1366c3307ab8d9cda5b61b91540cf6cc8aa (diff)
Fix some UBSAN false positives (#6115)
* Fix some UBSAN false positives. * ruby tool/update-deps --fix
Notes: Merged-By: jhawthorn <[email protected]>
-rw-r--r--regparse.c3
1 files changed, 3 insertions, 0 deletions
@@ -37,6 +37,7 @@
#include "regparse.h"
#include <stdarg.h>
#define WARN_BUFSIZE 256
@@ -394,6 +395,8 @@ str_end_cmp(st_data_t xp, st_data_t yp)
return 0;
}
static st_index_t
str_end_hash(st_data_t xp)
{