]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r264038 (theraven)
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 Jun 2015 19:13:13 +0000 (19:13 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 Jun 2015 19:13:13 +0000 (19:13 +0000)
commit1731aead11392838fca1bc366358973fe49381fc
tree79be0169faba9f9c3a5833f4d8329be8b287c086
parent49d091d5cec6ec6619f16021e7231c73bf2fe77a
MFC r264038 (theraven)

Fix an issue where the locale and rune locale could become out of sync,
causing mb* functions (and similar) to be called with the wrong data
(possibly a null pointer, causing a crash).

PR: standards/188036

git-svn-id: svn://svn.freebsd.org/base/stable/9@284525 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/locale/setrunelocale.c
lib/libc/locale/xlocale.c