]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client/SyntheticClient.cc: check return value of describe_layout()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 10 May 2013 15:43:03 +0000 (17:43 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 10 May 2013 22:02:56 +0000 (00:02 +0200)
commitf6635cb30a2d7bd1bfaaaa211bf0177e0ae5d750
tree40292b402325bdf87ccdfdd721f07778894fa042
parentcb91f0fd6ef360da81f941996286579c4c22b9bd
client/SyntheticClient.cc: check return value of describe_layout()

Fix SyntheticClient::chunk_file(): check return value of
describe_layout() and handle the error.

CID 966615 Unchecked return value (CWE-252)

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