Re: [PATCH] libstdc++: avoid uninitialized read in basic_string constructor

2023-11-03 Thread Ben Sherman
> This was https://gcc.gnu.org/PR109703 (and several duplicates) and > should already be fixed in all affected branches. Where are you seeing > this? I saw this on 13.1.0 and could not find the bug report or fix for it, so I didn't realize it had already been fixed. Sorry about that. This

[PATCH] libstdc++: avoid uninitialized read in basic_string constructor

2023-11-02 Thread Ben Sherman
Tested on x86_64-pc-linux-gnu, please let me know if there's anything else needed. I haven't contributed before and don't have write access, so apologies if I've missed anything. -- >8 -- The basic_string input iterator constructor incrementally reads data and allocates the internal buffer