We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ea86de + fa969ad commit 25481acCopy full SHA for 25481ac
src/be_solidifylib.c
@@ -69,7 +69,7 @@ static unsigned toidentifier_length(const char *s)
69
unsigned len = 1;
70
const char * p = s;
71
while (*p) {
72
- if (p[0] == '_' && p[1] == 'X') {
+ if (p[0] == '_' && p[1] != '\0' && p[1] == 'X') {
73
len += 3;
74
p += 2;
75
} else if (isalnum(p[0]) || p[0] == '_') {
0 commit comments