Re: uninitialized stack memory possibly passed to m_freem

2022-01-12 Thread Stefan Sperling
On Wed, Jan 12, 2022 at 11:30:44AM +0100, Moritz Buhl wrote: > Hi tech@, > > https://github.com/openbsd/src/commit/0ea6bae06233cd25645df14602c3eda6bdff7dca.patch > > the patch forgot to add mrep to the info struct, nfsm_dissect could > pass info.nmi_mrep to m_freem, which is currently uninitializ

uninitialized stack memory possibly passed to m_freem

2022-01-12 Thread Moritz Buhl
Hi tech@, https://github.com/openbsd/src/commit/0ea6bae06233cd25645df14602c3eda6bdff7dca.patch the patch forgot to add mrep to the info struct, nfsm_dissect could pass info.nmi_mrep to m_freem, which is currently uninitialized stack memory. Index: sys/nfs/nfs_subs.c =