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:
parent
55ac5e1861
commit
45206d5c69
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101487
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user