]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a bug introduced in 1.11 (and also MFCd to stable AND the security branch)
authordillon <dillon@FreeBSD.org>
Wed, 20 Mar 2002 04:05:26 +0000 (04:05 +0000)
committerdillon <dillon@FreeBSD.org>
Wed, 20 Mar 2002 04:05:26 +0000 (04:05 +0000)
commit24fdcd89ad7474e39c39b6ae22c234c6b0d5b40c
treec5d7062c28d7b4e170985fb4044a6f0a976d4d9e
parent9ef9bf2eafae98b3e22da0b2e655ede34057de17
Fix a bug introduced in 1.11 (and also MFCd to stable AND the security branch)
that causes a machine to panic when the kernel PPP / DEFLATE code is used.
1.11 moved a ZFREE to a point after the structural members were clobbered
by stores into a union'd structure.

This commit fixes the bug and adds a big whopping comment to make sure
the code isn't 'cleaned up' again :-)

Ian Dowse came up with the same patch independantly 68 seconds before I
did, talk about Karma!

I would also like to thank Eugene Grosbein for marathon work in tracking the
problem down by udpating his -stable based on date over and over again
to close in on the commit that caused his crashes.

PR: kern/35969
Reviewed by: Ian Dowse <iedowse@maths.tcd.ie>
X-MFC after:  immediately
sys/net/zlib.c