Re: uninitialized variable access in read_builtin

2023-06-22 Thread Chet Ramey
On 6/22/23 12:36 PM, Grisha Levit wrote: `read' can hit its timeout before it gets a chance to save the current signal mask so sigprocmask can end up restoring an uninitialized prevset. (Also all the sigprocmask calls other than the one in the jmp target are protected by `#if defined (SIGCHLD)' s

uninitialized variable access in read_builtin

2023-06-22 Thread Grisha Levit
`read' can hit its timeout before it gets a chance to save the current signal mask so sigprocmask can end up restoring an uninitialized prevset. (Also all the sigprocmask calls other than the one in the jmp target are protected by `#if defined (SIGCHLD)' so I guess this one should be too) Found by