commit | ca26b6af65ea71d6ba9e8cb5cee4bcc2d77dfedb | [log] [tgz] |
---|---|---|
author | Googler <no-reply@google.com> | Wed May 29 16:28:31 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 29 16:28:58 2024 -0700 |
tree | 0acbf364035307fcb60b3f3b3a291b0f63abe7fb | |
parent | 2843399b5a82bcfe0a61eebc504323058d3c91f6 [diff] |
No public description PiperOrigin-RevId: 638449400
diff --git a/src/hunspell/hashmgr.cxx b/src/hunspell/hashmgr.cxx index b8c6f5c..2df28c4 100644 --- a/src/hunspell/hashmgr.cxx +++ b/src/hunspell/hashmgr.cxx
@@ -445,7 +445,7 @@ ap = strchr(ap,'/'); } - if (ap) { + if (ap && *ap != '\0') { *ap = '\0'; if (aliasf) { int index = atoi(ap + 1);