diff options
author | ache <ache@FreeBSD.org> | 2002-08-07 20:20:56 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-07 20:20:56 +0000 |
commit | 1994aec49dba4f338656562d8d256c8cab68a59e (patch) | |
tree | 5ef4f2a6b10afd3af56666685d7a472703f06e5d /lib/libc/locale/euc.c | |
parent | 2de72eb7f519bca3c85d85d15e40ffb4cda07158 (diff) | |
download | FreeBSD-src-1994aec49dba4f338656562d8d256c8cab68a59e.zip FreeBSD-src-1994aec49dba4f338656562d8d256c8cab68a59e.tar.gz |
Fix wrong address when EucInfo > "variable" size
Diffstat (limited to 'lib/libc/locale/euc.c')
-rw-r--r-- | lib/libc/locale/euc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/euc.c b/lib/libc/locale/euc.c index 0b4c92a..9008a91 100644 --- a/lib/libc/locale/euc.c +++ b/lib/libc/locale/euc.c @@ -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; |