newlib-cygwin/winsup/cygwin/release
Corinna Vinschen 85be74f295 newlocale: fix crash when trying to write to __C_locale
This simple testcase:

  locale_t st = newlocale(LC_ALL_MASK, "C", (locale_t)0);
  locale_t st2 = newlocale(LC_CTYPE_MASK, "en_US.UTF-8", st);

is sufficient to reproduce a crash in _newlocale_r.  After the first call
to newlocale, `st' points to __C_locale, which is const.  When using `st'
as locale base in the second call, _newlocale_r tries to set pointers
inside base to NULL.  This is bad if base is __C_locale, obviously.

Add a test to avoid trying to overwrite pointer values inside base if
base is __C_locale.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2022-08-12 12:29:26 +02:00
..
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
1.7.17
1.7.18
1.7.19
1.7.20
1.7.21
1.7.22
1.7.23
1.7.24
1.7.25
1.7.26
1.7.27
1.7.28
1.7.29
1.7.30
1.7.31
1.7.32
1.7.33
1.7.34
1.7.35
2.0.0
2.0.1
2.0.3
2.0.4
2.1.0
2.2.0
2.2.1
2.3.0
2.3.1
2.4.0
2.4.1
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.8.0
2.8.1
2.8.2
2.9.0 cygwin: add strptime %F fix to release notes 2017-08-29 21:12:21 +02:00
2.10.0 cygwin: 2.10.0 release text: fix formatting 2018-01-22 15:32:29 +01:00
2.11.0 Cygwin: Accommodate logon sessions on Windows 10 2018-08-28 11:28:28 +02:00
2.11.1 Cygwin: fix Win32 path ".." backtracking 2018-09-01 21:06:24 +02:00
2.11.2 Cygwin: honor SOCK_NONBLOCK/SOCK_CLOEXEC in socket(2)/socketpair(2) 2018-11-05 21:02:22 +01:00
3.0 Cygwin: passwd/group: store account name case correct 2019-02-13 11:13:28 +01:00
3.0.1 Cygwin: document secure_getenv 2019-02-19 14:34:18 -06:00
3.0.2 Cygwin: update 3.0.2 release file 2019-03-04 14:14:15 +01:00
3.0.3 Cygwin: posix timers: fix a deadlock 2019-03-08 12:57:42 +01:00
3.0.4 Cygwin: acls: allow converting empty acl to text 2019-03-13 12:09:11 +01:00
3.0.5 Cygwin: document ps -W duplication bug fix 2019-03-31 12:50:50 +02:00
3.0.6 Cygwin: add latest signal handling fixes to release notes 2019-04-06 18:09:41 +02:00
3.0.7 Cygwin: Add release info for 3.0.7 2019-04-30 18:49:23 +02:00
3.1.0 Cygwin: add strtold fix to release message 2019-12-16 16:39:17 +01:00
3.1.1 Cygwin: add 3.1.1 release text belatedly 2019-12-18 10:47:43 +01:00
3.1.2 Cygwin: add 3.1.2 release text 2019-12-21 11:44:08 +01:00
3.1.3 Cygwin: move 3.1.3 to 3.1.4 release document 2020-02-18 11:22:57 +01:00
3.1.4 Cygwin: add @cjksingle to release docs 2020-02-18 11:35:42 +01:00
3.1.5 Cygwin: stat: fix st_mode of fifos again 2020-05-28 13:34:19 -04:00
3.1.6 Cygwin: add microcode patch to release messages 2020-07-09 09:55:34 +02:00
3.1.7 Cygwin: main exception handler (64-bit): continue GCC exceptions 2020-08-18 07:04:25 -04:00
3.2.0 Cygwin: add "app execution aliases" treatment to release notes 2021-03-23 16:54:41 +01:00
3.3.0 Cygwin: convert malloc lock to SRWLOCK 2021-10-26 18:47:22 +02:00
3.3.2 Cygwin: pipe: Avoid false EOF while reading output of C# programs. 2021-11-08 11:06:58 +01:00
3.3.3 Cygwin: Fix release note 3.3.3. 2021-11-23 01:19:56 +09:00
3.3.4 Revert "Cygwin: fix permission problem when writing DAC info on Samba shares" 2022-01-27 15:31:25 +01:00
3.3.5 Cygwin: Fix "0x0x" in gmondump and ssp man pages 2022-04-27 11:40:09 +02:00
3.3.6 newlocale: fix crash when trying to write to __C_locale 2022-08-12 12:29:26 +02:00
3.4.0 Cygwin: redefine some macros for Linux compatibility 2022-07-07 08:22:40 -04:00