DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern uipc_socket.c


From: Nicolas Thery <nth@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Jul 2008 12:01:57 -0700 (PDT)

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@mail.dk>
  Reviewed-by: Aggelos Economopoulos <aoiko@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]