HomeFreeBSD

tcsh: fix abort in cleanup_until(), caused by internal xgetpass()
rS180637Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

tcsh: fix abort in cleanup_until(), caused by internal xgetpass()

The xgetpass() function pushes a cleanup entry for &osa, but then
attempts to flush the stack until an entry matching &sa. The two
object pointers do not match, so the stack is popped too much,
and then cleanup_until calls abort() when it unexpectedly hits
the bottom of the cleanup stack.

Reported by: Paul B. Mahol, onemda at gmail.com,

		Pietro Cerutti, gahr at gahr.ch

PR: bin/124191
Reviewed by: mp, kris
MFC after: 2 days

Details

Provenance
keramidaAuthored on
Parents
rS180636: Document a few sysctls. While here, remove dead code
Branches
Unknown
Tags
Unknown

Event Timeline