]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
CephxProtocol.cc: catch end_of_buffer by reference
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 26 Feb 2013 14:56:03 +0000 (15:56 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 26 Feb 2013 14:56:03 +0000 (15:56 +0100)
commitd783f95c204d8fdf60b668fd4990b3bc5e5d37c0
tree0d5b98fd24289d61cc18f63b4308c3053bbc24a4
parentbf10e5e948856129551bc571d6a77aeedc40141f
CephxProtocol.cc: catch end_of_buffer by reference

Follow 'Throw by value, catch by reference' to void copying and
potential slicing the exception.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/auth/cephx/CephxProtocol.cc