/contrib/sdk/sources/newlib/libc/ctype/iswalpha.c |
---|
415,7 → 415,7 |
/* otherwise c > *ptr */ |
/* look for 0x0 as next element which indicates a range */ |
++ptr; |
if (*ptr == 0x0) |
if (ptr < table + size - 1 && *ptr == 0x0) |
{ |
/* we have a range..see if c falls within range */ |
++ptr; |
/contrib/sdk/sources/newlib/libc/ctype/jp2uc.c |
---|
37,6 → 37,7 |
#ifndef __CYGWIN__ |
#include <_ansi.h> |
#include <string.h> |
#include <wctype.h> |
#include "local.h" |
#include "jp2uc.h" |