ICU locale backend: Increase size of fLocaleDescription from 512 to 1024 bytes.
GCC7 gave a Werror that we were snprintf'ing potentially ~860 bytes into a 512-byte buffer.
This commit is contained in:
@@ -81,7 +81,7 @@ private:
|
||||
static void _DestroyThreadLocalStorageValue(void* value);
|
||||
|
||||
// buffer for locale names (up to one per category)
|
||||
char fLocaleDescription[512];
|
||||
char fLocaleDescription[1024];
|
||||
|
||||
// data containers
|
||||
struct lconv fLocaleConv;
|
||||
|
||||
Reference in New Issue
Block a user