Project

General

Profile

Actions

Bug #99

closed

Check return codes everywhere

Added by Markus Elfring about 14 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This issue corresponds to my previous "feature request".

Some checks for return codes are missing.

Examples:
Would you like to add more error handling for return values from "strdup" like in the function "ceph_set_default_id" and from "write" in the function "do_cli"?
source:src/config.cc@a31ea46f35a3e49b5565c88522b27ba3538147d2#L56
source:src/ceph.cc@d2d80c6e80c69655156f6f1cf7f724a7b36f90c3#L462

Actions

Also available in: Atom PDF