Re: [PATCH] 4.3..devel: Fix printf %d "'X" affected by intermediate mbstate_t

2022-09-27 Thread Chet Ramey
On 9/24/22 9:15 PM, Koichi Murase wrote: Bash Version: 4.4 Patch Level: 12 Release Status: release Description: With a multi-byte encoding that has a non-trivial intermediate state (mbstate_t), « printf %d "'" » can be affected by the internal mbstate_t of `mbtowc'/`mblen' to produce

Re: Buffer overflow in bash's readline

2022-09-27 Thread Chet Ramey
On 9/23/22 3:24 PM, srobert...@peratonlabs.com wrote: Bash Version: 5.1 Patch Level: 8 Release Status: release Description: Repeatable buffer overflow core-dump in bash's readline due to rl_forced_update_display trying to zeroize a string that is not NUL terminated.