]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
buffer::list::copy: complain about invalid strings
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 1 Oct 2010 18:09:30 +0000 (11:09 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 1 Oct 2010 21:12:19 +0000 (14:12 -0700)
commitcdf43d543e4c7332f5af396a9acf972dba84b487
treeb99f93386ae8b6d201dd04e1944751c3ffcfe189
parente87f751b3dc703f13e7580a24df49fbff1359536
buffer::list::copy: complain about invalid strings

Raise an exception when someone feeds us a "string" that has embedded
NULL characters.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/include/buffer.h