From: scan-admin@coverity.com
To: ceph-devel@vger.kernel.org
Subject: New Defects reported by Coverity Scan for ceph
Date: Sat, 05 Mar 2016 09:55:03 -0800 [thread overview]
Message-ID: <56db1d779c20a_3499abd33094453@ss1435.mail> (raw)
Hi,
Please find the latest report on new defect(s) introduced to ceph found with Coverity Scan.
72 new defect(s) introduced to ceph found with Coverity Scan.
29 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 20 of 72 defect(s)
** CID 1355178: (BAD_SHIFT)
/common/strtol.cc: 173 in strict_si_cast<int>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
/common/strtol.cc: 173 in strict_si_cast<int>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
/common/strtol.cc: 173 in strict_si_cast<int>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
________________________________________________________________________________________________________
*** CID 1355178: (BAD_SHIFT)
/common/strtol.cc: 173 in strict_si_cast<int>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
167 return 0;
168 }
169 if (ll < (long long)std::numeric_limits<T>::min() >> m) {
170 *err = "strict_sistrtoll: value seems to be too small";
171 return 0;
172 }
>>> CID 1355178: (BAD_SHIFT)
>>> In expression "0x7fffffff >> m", right shifting by more than 31 bits has undefined behavior. The shift amount, "m", is 40.
173 if (ll > std::numeric_limits<T>::max() >> m) {
174 *err = "strict_sistrtoll: value seems to be too large";
175 return 0;
176
177 }
178 return (ll << m);
/common/strtol.cc: 173 in strict_si_cast<int>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
167 return 0;
168 }
169 if (ll < (long long)std::numeric_limits<T>::min() >> m) {
170 *err = "strict_sistrtoll: value seems to be too small";
171 return 0;
172 }
>>> CID 1355178: (BAD_SHIFT)
>>> In expression "0x7fffffff >> m", right shifting by more than 31 bits has undefined behavior. The shift amount, "m", is 50.
173 if (ll > std::numeric_limits<T>::max() >> m) {
174 *err = "strict_sistrtoll: value seems to be too large";
175 return 0;
176
177 }
178 return (ll << m);
/common/strtol.cc: 173 in strict_si_cast<int>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
167 return 0;
168 }
169 if (ll < (long long)std::numeric_limits<T>::min() >> m) {
170 *err = "strict_sistrtoll: value seems to be too small";
171 return 0;
172 }
>>> CID 1355178: (BAD_SHIFT)
>>> In expression "0x7fffffff >> m", right shifting by more than 31 bits has undefined behavior. The shift amount, "m", is 60.
173 if (ll > std::numeric_limits<T>::max() >> m) {
174 *err = "strict_sistrtoll: value seems to be too large";
175 return 0;
176
177 }
178 return (ll << m);
** CID 1355179: Control flow issues (DEADCODE)
/common/strtol.cc: 170 in strict_si_cast<unsigned long>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
________________________________________________________________________________________________________
*** CID 1355179: Control flow issues (DEADCODE)
/common/strtol.cc: 170 in strict_si_cast<unsigned long>(const char *, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)()
164 long long ll = strict_strtoll(s.c_str(), 10, err);
165 if (ll < 0 && !std::numeric_limits<T>::is_signed) {
166 *err = "strict_sistrtoll: value should not be negative";
167 return 0;
168 }
169 if (ll < (long long)std::numeric_limits<T>::min() >> m) {
>>> CID 1355179: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "(*err) = ("strict_sistrtoll...".
170 *err = "strict_sistrtoll: value seems to be too small";
171 return 0;
172 }
173 if (ll > std::numeric_limits<T>::max() >> m) {
174 *err = "strict_sistrtoll: value seems to be too large";
175 return 0;
** CID 1355180: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 1833 in __pyx_pw_6cephfs_1cstr()
________________________________________________________________________________________________________
*** CID 1355180: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 1833 in __pyx_pw_6cephfs_1cstr()
1827 }
1828 kw_args = PyDict_Size(__pyx_kwds);
1829 switch (pos_args) {
1830 case 0:
1831 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_val)) != 0)) kw_args--;
1832 else goto __pyx_L5_argtuple_error;
>>> CID 1355180: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
1833 case 1:
1834 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
1835 else {
1836 __Pyx_RaiseArgtupleInvalid("cstr", 0, 2, 4, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
1837 }
1838 case 2:
** CID 1355181: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 1838 in __pyx_pw_6cephfs_1cstr()
________________________________________________________________________________________________________
*** CID 1355181: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 1838 in __pyx_pw_6cephfs_1cstr()
1832 else goto __pyx_L5_argtuple_error;
1833 case 1:
1834 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
1835 else {
1836 __Pyx_RaiseArgtupleInvalid("cstr", 0, 2, 4, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
1837 }
>>> CID 1355181: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
1838 case 2:
1839 if (kw_args > 0) {
1840 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_encoding);
1841 if (value) { values[2] = value; kw_args--; }
1842 }
1843 case 3:
** CID 1355182: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 1843 in __pyx_pw_6cephfs_1cstr()
________________________________________________________________________________________________________
*** CID 1355182: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 1843 in __pyx_pw_6cephfs_1cstr()
1837 }
1838 case 2:
1839 if (kw_args > 0) {
1840 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_encoding);
1841 if (value) { values[2] = value; kw_args--; }
1842 }
>>> CID 1355182: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
1843 case 3:
1844 if (kw_args > 0) {
1845 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_opt);
1846 if (value) { values[3] = value; kw_args--; }
1847 }
1848 }
** CID 1355183: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2089 in __pyx_pw_6cephfs_3cstr_list()
________________________________________________________________________________________________________
*** CID 1355183: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2089 in __pyx_pw_6cephfs_3cstr_list()
2083 }
2084 kw_args = PyDict_Size(__pyx_kwds);
2085 switch (pos_args) {
2086 case 0:
2087 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_list_str)) != 0)) kw_args--;
2088 else goto __pyx_L5_argtuple_error;
>>> CID 1355183: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
2089 case 1:
2090 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
2091 else {
2092 __Pyx_RaiseArgtupleInvalid("cstr_list", 0, 2, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2093 }
2094 case 2:
** CID 1355184: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2094 in __pyx_pw_6cephfs_3cstr_list()
________________________________________________________________________________________________________
*** CID 1355184: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2094 in __pyx_pw_6cephfs_3cstr_list()
2088 else goto __pyx_L5_argtuple_error;
2089 case 1:
2090 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
2091 else {
2092 __Pyx_RaiseArgtupleInvalid("cstr_list", 0, 2, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2093 }
>>> CID 1355184: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
2094 case 2:
2095 if (kw_args > 0) {
2096 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_encoding);
2097 if (value) { values[2] = value; kw_args--; }
2098 }
2099 }
** CID 1355185: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2299 in __pyx_pw_6cephfs_5decode_cstr()
________________________________________________________________________________________________________
*** CID 1355185: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2299 in __pyx_pw_6cephfs_5decode_cstr()
2293 }
2294 kw_args = PyDict_Size(__pyx_kwds);
2295 switch (pos_args) {
2296 case 0:
2297 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_val)) != 0)) kw_args--;
2298 else goto __pyx_L5_argtuple_error;
>>> CID 1355185: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
2299 case 1:
2300 if (kw_args > 0) {
2301 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_encoding);
2302 if (value) { values[1] = value; kw_args--; }
2303 }
2304 }
** CID 1355186: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 4558 in __pyx_pw_6cephfs_9LibCephFS_17__exit__()
________________________________________________________________________________________________________
*** CID 1355186: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 4558 in __pyx_pw_6cephfs_9LibCephFS_17__exit__()
4552 }
4553 kw_args = PyDict_Size(__pyx_kwds);
4554 switch (pos_args) {
4555 case 0:
4556 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
4557 else goto __pyx_L5_argtuple_error;
>>> CID 1355186: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
4558 case 1:
4559 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
4560 else {
4561 __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4562 }
4563 case 2:
** CID 1355187: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 4563 in __pyx_pw_6cephfs_9LibCephFS_17__exit__()
________________________________________________________________________________________________________
*** CID 1355187: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 4563 in __pyx_pw_6cephfs_9LibCephFS_17__exit__()
4557 else goto __pyx_L5_argtuple_error;
4558 case 1:
4559 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
4560 else {
4561 __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4562 }
>>> CID 1355187: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
4563 case 2:
4564 if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_traceback)) != 0)) kw_args--;
4565 else {
4566 __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4567 }
4568 }
** CID 1355188: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 5345 in __pyx_pw_6cephfs_9LibCephFS_25conf_set()
________________________________________________________________________________________________________
*** CID 1355188: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 5345 in __pyx_pw_6cephfs_9LibCephFS_25conf_set()
5339 }
5340 kw_args = PyDict_Size(__pyx_kwds);
5341 switch (pos_args) {
5342 case 0:
5343 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_option)) != 0)) kw_args--;
5344 else goto __pyx_L5_argtuple_error;
>>> CID 1355188: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
5345 case 1:
5346 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_val)) != 0)) kw_args--;
5347 else {
5348 __Pyx_RaiseArgtupleInvalid("conf_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5349 }
5350 }
** CID 1355189: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2874 in __pyx_pw_6cephfs_9LibCephFS_3__cinit__()
________________________________________________________________________________________________________
*** CID 1355189: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2874 in __pyx_pw_6cephfs_9LibCephFS_3__cinit__()
2868 switch (pos_args) {
2869 case 0:
2870 if (kw_args > 0) {
2871 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_conf);
2872 if (value) { values[0] = value; kw_args--; }
2873 }
>>> CID 1355189: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
2874 case 1:
2875 if (kw_args > 0) {
2876 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_conffile);
2877 if (value) { values[1] = value; kw_args--; }
2878 }
2879 case 2:
** CID 1355190: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2879 in __pyx_pw_6cephfs_9LibCephFS_3__cinit__()
________________________________________________________________________________________________________
*** CID 1355190: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2879 in __pyx_pw_6cephfs_9LibCephFS_3__cinit__()
2873 }
2874 case 1:
2875 if (kw_args > 0) {
2876 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_conffile);
2877 if (value) { values[1] = value; kw_args--; }
2878 }
>>> CID 1355190: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
2879 case 2:
2880 if (kw_args > 0) {
2881 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_auth_id);
2882 if (value) { values[2] = value; kw_args--; }
2883 }
2884 case 3:
** CID 1355191: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2884 in __pyx_pw_6cephfs_9LibCephFS_3__cinit__()
________________________________________________________________________________________________________
*** CID 1355191: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 2884 in __pyx_pw_6cephfs_9LibCephFS_3__cinit__()
2878 }
2879 case 2:
2880 if (kw_args > 0) {
2881 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_auth_id);
2882 if (value) { values[2] = value; kw_args--; }
2883 }
>>> CID 1355191: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
2884 case 3:
2885 if (kw_args > 0) {
2886 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rados_inst);
2887 if (value) { values[3] = value; kw_args--; }
2888 }
2889 }
** CID 1355192: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 7401 in __pyx_pw_6cephfs_9LibCephFS_45mkdir()
________________________________________________________________________________________________________
*** CID 1355192: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 7401 in __pyx_pw_6cephfs_9LibCephFS_45mkdir()
7395 }
7396 kw_args = PyDict_Size(__pyx_kwds);
7397 switch (pos_args) {
7398 case 0:
7399 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_path)) != 0)) kw_args--;
7400 else goto __pyx_L5_argtuple_error;
>>> CID 1355192: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
7401 case 1:
7402 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_mode)) != 0)) kw_args--;
7403 else {
7404 __Pyx_RaiseArgtupleInvalid("mkdir", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7405 }
7406 }
** CID 1355193: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 7686 in __pyx_pw_6cephfs_9LibCephFS_47mkdirs()
________________________________________________________________________________________________________
*** CID 1355193: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 7686 in __pyx_pw_6cephfs_9LibCephFS_47mkdirs()
7680 }
7681 kw_args = PyDict_Size(__pyx_kwds);
7682 switch (pos_args) {
7683 case 0:
7684 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_path)) != 0)) kw_args--;
7685 else goto __pyx_L5_argtuple_error;
>>> CID 1355193: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
7686 case 1:
7687 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_mode)) != 0)) kw_args--;
7688 else {
7689 __Pyx_RaiseArgtupleInvalid("mkdirs", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7690 }
7691 }
** CID 1355194: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8140 in __pyx_pw_6cephfs_9LibCephFS_51open()
________________________________________________________________________________________________________
*** CID 1355194: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8140 in __pyx_pw_6cephfs_9LibCephFS_51open()
8134 }
8135 kw_args = PyDict_Size(__pyx_kwds);
8136 switch (pos_args) {
8137 case 0:
8138 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_path)) != 0)) kw_args--;
8139 else goto __pyx_L5_argtuple_error;
>>> CID 1355194: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
8140 case 1:
8141 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
8142 else {
8143 __Pyx_RaiseArgtupleInvalid("open", 0, 2, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8144 }
8145 case 2:
** CID 1355195: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8145 in __pyx_pw_6cephfs_9LibCephFS_51open()
________________________________________________________________________________________________________
*** CID 1355195: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8145 in __pyx_pw_6cephfs_9LibCephFS_51open()
8139 else goto __pyx_L5_argtuple_error;
8140 case 1:
8141 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
8142 else {
8143 __Pyx_RaiseArgtupleInvalid("open", 0, 2, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8144 }
>>> CID 1355195: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
8145 case 2:
8146 if (kw_args > 0) {
8147 PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_mode);
8148 if (value) { values[2] = value; kw_args--; }
8149 }
8150 }
** CID 1355196: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8942 in __pyx_pw_6cephfs_9LibCephFS_55read()
________________________________________________________________________________________________________
*** CID 1355196: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8942 in __pyx_pw_6cephfs_9LibCephFS_55read()
8936 }
8937 kw_args = PyDict_Size(__pyx_kwds);
8938 switch (pos_args) {
8939 case 0:
8940 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_fd)) != 0)) kw_args--;
8941 else goto __pyx_L5_argtuple_error;
>>> CID 1355196: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
8942 case 1:
8943 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_offset)) != 0)) kw_args--;
8944 else {
8945 __Pyx_RaiseArgtupleInvalid("read", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8946 }
8947 case 2:
** CID 1355197: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8947 in __pyx_pw_6cephfs_9LibCephFS_55read()
________________________________________________________________________________________________________
*** CID 1355197: Control flow issues (MISSING_BREAK)
/build/cephfs.c: 8947 in __pyx_pw_6cephfs_9LibCephFS_55read()
8941 else goto __pyx_L5_argtuple_error;
8942 case 1:
8943 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_offset)) != 0)) kw_args--;
8944 else {
8945 __Pyx_RaiseArgtupleInvalid("read", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8946 }
>>> CID 1355197: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
8947 case 2:
8948 if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_l)) != 0)) kw_args--;
8949 else {
8950 __Pyx_RaiseArgtupleInvalid("read", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
8951 }
8952 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/ceph?tab=overview
To manage Coverity Scan email notifications for "ceph-devel@vger.kernel.org", click https://scan.coverity.com/subscriptions/edit?email=ceph-devel%40vger.kernel.org&token=018084d671e3cc89d00dd2ccb7eb849c
next reply other threads:[~2016-03-05 17:55 UTC|newest]
Thread overview: 124+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-05 17:55 scan-admin [this message]
2016-03-07 20:59 ` New Defects reported by Coverity Scan for ceph Gregory Farnum
-- strict thread matches above, loose matches on Subject: below --
2022-08-20 12:22 scan-admin
2022-08-20 13:17 ` Jeff Layton
2022-08-22 3:54 ` Brad Hubbard
2022-08-23 12:52 ` Jeff Layton
2018-01-04 3:32 scan-admin
2017-12-28 1:57 scan-admin
2017-12-21 1:54 scan-admin
2017-12-21 3:34 ` Jos Collin
2017-12-21 4:03 ` Brad Hubbard
2017-12-14 6:49 scan-admin
2017-12-01 2:25 scan-admin
2017-11-23 0:19 scan-admin
2017-11-16 11:35 scan-admin
2017-11-09 11:36 scan-admin
2017-11-02 2:11 scan-admin
2017-10-27 0:31 scan-admin
2017-10-19 3:54 scan-admin
2017-10-12 5:54 scan-admin
2017-10-05 5:08 scan-admin
2017-09-28 5:09 scan-admin
2017-09-21 6:44 scan-admin
2017-09-14 7:19 scan-admin
2017-09-07 5:08 scan-admin
2017-08-31 6:39 scan-admin
2017-08-24 23:32 scan-admin
2017-08-17 3:29 scan-admin
2017-08-10 3:50 scan-admin
2017-08-03 4:57 scan-admin
2017-07-27 3:50 scan-admin
2017-07-28 18:42 ` Gregory Farnum
2017-07-28 22:22 ` Brad Hubbard
2017-07-20 4:08 scan-admin
2017-07-13 5:11 scan-admin
2017-07-06 5:03 scan-admin
2017-06-29 4:08 scan-admin
2017-06-22 4:27 scan-admin
2017-06-15 9:50 scan-admin
2017-06-11 23:46 scan-admin
2017-06-01 4:33 scan-admin
2017-05-25 6:22 scan-admin
2017-05-18 1:44 scan-admin
2017-05-11 5:32 scan-admin
2017-05-04 2:45 scan-admin
2017-04-27 2:22 scan-admin
2017-04-20 5:34 scan-admin
2017-04-13 6:25 scan-admin
2017-04-06 9:40 scan-admin
2017-03-31 1:25 scan-admin
2017-03-23 7:58 scan-admin
2017-03-16 7:37 scan-admin
2017-03-09 6:12 scan-admin
2017-03-02 7:44 scan-admin
2017-02-23 9:09 scan-admin
2017-02-17 2:29 scan-admin
[not found] ` <CAJE9aOMoxWjhq=g+25hfhMhxSCnHAOwAyNhXvkxS1wwBEd3j+A@mail.gmail.com>
2017-02-17 5:19 ` kefu chai
2017-02-05 10:08 scan-admin
2017-01-27 13:22 scan-admin
2017-01-17 3:01 scan-admin
2017-01-09 10:05 scan-admin
2016-12-30 8:33 scan-admin
2016-12-23 9:16 scan-admin
2016-12-16 8:54 scan-admin
2016-12-09 11:29 scan-admin
2016-12-02 11:08 scan-admin
2016-11-25 7:55 scan-admin
2016-03-19 17:58 scan-admin
2016-03-13 17:40 scan-admin
2016-03-12 18:04 scan-admin
2016-02-27 18:07 scan-admin
2016-02-20 18:26 scan-admin
2016-02-18 20:32 scan-admin
2016-02-13 17:47 scan-admin
2016-02-11 17:57 scan-admin
2016-02-11 22:01 ` Gregory Farnum
2016-02-12 16:36 ` Adam C. Emerson
2016-02-04 20:39 scan-admin
2016-02-03 20:40 scan-admin
2015-05-02 14:37 scan-admin
2015-01-21 1:41 scan-admin
2015-01-16 14:39 scan-admin
2015-01-16 15:17 ` Gregory Farnum
2015-01-16 16:00 ` John Spray
2015-01-16 16:08 ` Sage Weil
[not found] <54b528bef1f63_1b74f3532c63410@scan.coverity.com.mail>
2015-01-13 14:34 ` Sage Weil
2015-01-13 14:16 scan-admin
2015-01-10 14:36 scan-admin
2015-01-10 15:48 ` Haomai Wang
2015-01-09 14:30 scan-admin
2015-01-09 15:26 ` Sage Weil
2015-01-09 15:32 ` Danny Al-Gaaf
2015-01-04 14:14 scan-admin
2014-12-27 14:13 scan-admin
2014-12-28 6:03 ` Sage Weil
2014-12-26 14:19 scan-admin
2014-12-23 14:37 scan-admin
2014-12-21 14:13 scan-admin
2014-12-18 14:19 scan-admin
2014-12-14 14:17 scan-admin
2014-12-07 20:36 scan-admin
2014-12-05 14:11 scan-admin
2014-12-02 14:09 scan-admin
2014-11-25 14:09 scan-admin
2014-11-23 14:08 scan-admin
2014-11-20 14:20 scan-admin
2014-11-14 14:21 scan-admin
2014-11-13 14:21 scan-admin
2014-11-11 20:40 scan-admin
2014-11-09 14:12 scan-admin
2014-10-30 13:19 scan-admin
2014-10-30 16:08 ` Sage Weil
2014-10-28 13:16 scan-admin
2014-10-28 18:26 ` Danny Al-Gaaf
2014-10-26 13:17 scan-admin
2014-10-24 17:55 scan-admin
2014-10-24 17:59 ` Sage Weil
2014-10-17 13:27 scan-admin
2014-10-09 13:23 scan-admin
2014-10-02 13:21 scan-admin
2014-09-25 13:18 scan-admin
2014-09-16 21:40 scan-admin
2014-08-16 21:31 scan-admin
2014-08-09 15:30 scan-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56db1d779c20a_3499abd33094453@ss1435.mail \
--to=scan-admin@coverity.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox