]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - locale/programs/ld-ctype.c
Fix build warnings in locale/programs/ld-ctype.c
[thirdparty/glibc.git] / locale / programs / ld-ctype.c
index e6105928da2350208eb8f7ae21e330949b1efe7f..cfc9c43fd58235a3b3ee630cc40afc39fe108c05 100644 (file)
@@ -1396,7 +1396,8 @@ charclass_symbolic_ellipsis (struct linereader *ldfile,
                   (int) (now->val.str.lenmb - (cp - last_str)),
                   from);
 
-         get_character (now, charmap, repertoire, &seq, &wch);
+         if (get_character (now, charmap, repertoire, &seq, &wch))
+           goto invalid_range;
 
          if (seq != NULL && seq->nbytes == 1)
            /* Yep, we can store information about this byte sequence.  */