Page MenuHomeFreeBSD

libiconv VIQR: Fix a use after free.
ClosedPublic

Authored by jhb on Sep 29 2022, 10:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 5:55 AM
Unknown Object (File)
Thu, Jan 9, 5:55 AM
Unknown Object (File)
Thu, Jan 9, 5:55 AM
Unknown Object (File)
Thu, Jan 9, 5:13 AM
Unknown Object (File)
Wed, Jan 8, 12:04 PM
Unknown Object (File)
Tue, Jan 7, 12:39 PM
Unknown Object (File)
Dec 9 2024, 10:59 AM
Unknown Object (File)
Nov 21 2024, 6:36 AM
Subscribers
None

Details

Summary

Use TAILQ_FOREACH_SAFE to walk to list of children mnemonics to free
them instead of TAILQ_FOREACH.

Reported by: GCC 12 -Wuse-after-free

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 47635
Build 44522: arc lint + arc unit