VrtxOmega opened a new pull request, #50948:
URL: https://github.com/apache/arrow/pull/50948

   Fixes #50893
   
   soundex_utf8 in cpp/src/gandiva/precompiled/string_ops.cc used 
locale-sensitive
   isalpha()/toupper() to classify characters. Under non-C locales (e.g. 
en_US.UTF-8),
   isalpha accepts bytes 0x80-0xFF as letters, and toupper leaves them past 'Z',
   so mappings[c] (26-element table, A-Z) is indexed out of bounds.
   
   Replace with ASCII-only range checks, consistent with the soundex 
specification
   which only processes A-Z.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to