]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: humor coverity
authorSage Weil <sage@inktank.com>
Sat, 27 Jul 2013 00:14:44 +0000 (17:14 -0700)
committerSage Weil <sage@inktank.com>
Sat, 27 Jul 2013 00:14:44 +0000 (17:14 -0700)
commit4b739005a548b9cbf04856646aa993e2b71793c7
tree4b3178cdf2c12d44a92ee485582ddb98f8fea3ca
parent323bdaa25709182476d655e62aa4b99f2a53e49b
osd: humor coverity

CID 1058392: Out-of-bounds access (OVERRUN_DYNAMIC) [select issue]

CID 1058391 (#1 of 1): Out-of-bounds access (OVERRUN)
32. alloc_strlen: Allocating insufficient memory for the terminating null of the string.

CID 1058390 (#1 of 1): Unchecked return value from library (CHECKED_RETURN)
13. check_return: Calling function "this->class_handler->open_all_classes()" without checking return value. It wraps a library function that may fail and return an error code. [show details]
     14. unchecked_value: No check of the return value of "this->class_handler->open_all_classes()".

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ClassHandler.cc
src/osd/OSD.cc