CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/07/13 10:04:23

Modified files:
        sys/crypto     : cryptosoft.c 

Log message:
Handle allocation failure and track correct mbuf length in IPComp.

In swcr_compdec() m_copyback(M_NOWAIT) may fail, but the error is
not checked.  The mbuf chain could be too short, but the expected
length is returned as result.  Then ipcomp_input() will not set
m->m_pkthdr.len to the actual length of the mbuf chain.  This only
affects decompression, other cases do not need additional memory
for enlarging.

OK deraadt@

Reply via email to