git: libdmsg - Fix buffer overrun
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Feb 27 21:04:55 PST 2015
commit 024de40533b9f7dc2d6d2aaae58413a348c10686
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Feb 27 21:00:36 2015 -0800
libdmsg - Fix buffer overrun
* Large messages (generally large data payloads) could overrun the FIFO
buffer. e.g. dd if=/dev/xa<blah> of=/dev/null bs=32k
* Fix by chunking up large payloads.
Summary of changes:
lib/libdmsg/msg.c | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/024de40533b9f7dc2d6d2aaae58413a348c10686
--
DragonFly BSD source repository
More information about the Commits
mailing list