git: libdmsg - Fix buffer indexing bug in crypted path

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 28 08:17:35 PST 2015


commit f2239a4e4b26690b110df082d3616165c94839fc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 28 08:11:33 2015 -0800

    libdmsg - Fix buffer indexing bug in crypted path
    
    * Fix a buffering index bug in the crypted path which causes a buffer
      overrun and/or implodes the connection on a protocol error.

Summary of changes:
 lib/libdmsg/crypto.c |  9 +++++++--
 lib/libdmsg/msg.c    | 19 ++++++++++++++-----
 2 files changed, 21 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f2239a4e4b26690b110df082d3616165c94839fc


-- 
DragonFly BSD source repository



More information about the Commits mailing list