Skip to content
Permalink
Browse files Browse the repository at this point in the history
...
  • Loading branch information
Cristy committed Mar 5, 2019
1 parent 07eebcd commit edc7d30
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
2019-03-05 7.0.8-32 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.8-32, GIT revision ...

2019-03-05 7.0.8-32 Cristy <quetzlzacatenango@image...>
* Fix out-of-boundary LocaleLowerCase() @
https://github.com/ImageMagick/ImageMagick/issues/1495

2019-03-04 7.0.8-31 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.8-31, GIT revision 15381:3122a669d:20190304

Expand Down
4 changes: 4 additions & 0 deletions MagickCore/locale.c
Expand Up @@ -1521,6 +1521,8 @@ MagickExport void LocaleLower(char *string)
*/
MagickExport int LocaleLowercase(const int c)
{
if (c < 0)
return(c);
#if defined(MAGICKCORE_LOCALE_SUPPORT)
if (c_locale != (locale_t) NULL)
return(tolower_l((int) ((unsigned char) c),c_locale));
Expand Down Expand Up @@ -1659,6 +1661,8 @@ MagickExport void LocaleUpper(char *string)
*/
MagickExport int LocaleUppercase(const int c)
{
if (c < 0)
return(c);
#if defined(MAGICKCORE_LOCALE_SUPPORT)
if (c_locale != (locale_t) NULL)
return(toupper_l((int) ((unsigned char) c),c_locale));
Expand Down

0 comments on commit edc7d30

Please sign in to comment.