cvs commit: src/sys/kern uipc_socket.c
Nicolas Thery
nth at crater.dragonflybsd.org
Sun Jul 6 12:02:52 PDT 2008
nth 2008/07/06 12:01:57 PDT
DragonFly src repository
Modified files:
sys/kern uipc_socket.c
Log:
Change soopt_mcopyin() and soopt_mcopyout() to not modify soopt_val and
soopt_valsize. This fixes a "already free" panic when so_pru_ctloutput()
kfree()'s soopt_val.
Reported-by: Thomas Nikolajsen <thomas.nikolajsen at mail.dk>
Reviewed-by: Aggelos Economopoulos <aoiko at cc.ece.ntua.gr>
Revision Changes Path
1.50 +18 -12 src/sys/kern/uipc_socket.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.49&r2=1.50&f=u
More information about the Commits
mailing list