Dimitry Andric
d149877758
Fix possibly unitialized variables in __cxa_demangle_gnu3()
...
After 0ee0dbfb0d26cf4bc37f24f12e76c7f532b0f368 where I imported a more
recent libcxxrt snapshot, the variables 'rtn' and 'has_ret' could in
some cases be used while still uninitialized. Most obviously this would
lead to a jemalloc complaint about a bad free(), aborting the program.
Fix this by initializing a bunch variables in their declarations. This
change has also been sent upstream, with some additional changes to be
used in their testing framework.
PR: 253226
MFC after: 3 days
2021-02-22 21:01:09 +01:00
..
2020-05-31 22:12:56 +00:00
2020-06-01 10:14:45 +00:00
2021-02-04 15:03:05 +00:00
2021-02-17 23:02:01 +01:00
2020-05-19 00:15:19 +00:00
2021-02-10 22:03:22 -08:00
2020-12-29 19:55:05 +00:00
2021-02-11 18:41:28 -05:00
2021-02-16 14:35:12 +00:00
2021-01-19 21:23:25 +00:00
2020-12-10 10:58:30 +00:00
2021-02-03 16:24:22 -05:00
2020-06-29 13:30:48 +00:00
2021-02-17 02:22:47 -05:00
2020-08-04 02:20:15 +00:00
2021-02-08 16:36:27 -08:00
2020-12-18 10:09:21 +00:00
2020-03-29 02:40:03 +00:00
2020-06-22 23:13:14 +00:00
2020-10-24 15:58:42 +00:00
2020-10-03 18:52:54 +00:00
2020-12-28 00:34:06 +01:00
2020-05-05 17:55:45 +00:00
2021-02-22 21:01:09 +01:00
2020-09-21 16:43:38 +00:00
2019-12-21 21:05:53 +00:00
2020-01-25 21:16:45 +00:00
2021-01-26 17:51:25 +01:00
2021-01-13 23:56:18 -06:00
2020-03-23 18:26:23 +00:00
2020-10-24 17:08:59 +00:00
2020-12-08 23:38:26 +00:00
2020-02-19 17:09:08 +00:00
2021-02-22 17:41:04 +00:00
2020-07-10 19:58:07 +00:00
2020-06-24 01:51:05 +00:00
2020-10-12 10:42:24 +00:00
2020-08-31 16:18:48 +00:00
2020-09-21 19:03:12 +00:00
2020-07-28 20:06:16 +00:00
2020-06-17 10:42:20 +00:00
2020-11-19 05:46:59 +00:00
2021-01-12 00:56:35 +02:00
2020-10-26 17:52:28 +00:00
2021-02-03 14:59:32 -08:00
2020-01-03 12:54:14 +00:00
2021-01-25 20:24:44 -08:00
2021-02-13 14:38:51 +01:00
2020-06-22 07:46:24 +00:00
2020-03-28 15:00:55 +00:00
2020-12-29 21:05:48 +00:00
2021-01-02 21:03:28 +02:00
2020-02-27 19:49:59 +00:00
2020-11-26 04:55:02 +00:00
2020-06-17 11:57:48 +00:00
2021-01-25 08:18:14 +08:00
2021-02-09 20:27:25 -08:00
2021-02-18 19:10:33 +01:00
2021-01-25 14:46:45 -08:00
2020-06-20 21:32:07 +00:00