1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fix wrong address when EucInfo > "variable" size

This commit is contained in:
Andrey A. Chernov 2002-08-07 20:20:56 +00:00
parent 55ac5e1861
commit 45206d5c69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101487

View File

@ -113,7 +113,7 @@ _EUC_init(rl)
memcpy(rl->variable, ei, sizeof(_EucInfo));
free(ei);
} else {
rl->variable = &ei;
rl->variable = ei;
}
rl->variable_len = sizeof(_EucInfo);
_CurrentRuneLocale = rl;