Changeset 72578 in vbox for trunk/src/VBox/Runtime/common/fuzz/fuzzmastercmd.cpp
- Timestamp:
- Jun 16, 2018 2:31:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fuzz/fuzzmastercmd.cpp
r72573 r72578 215 215 static int rtFuzzCmdMasterFuzzRunProcessCfgSizeDef(size_t *pcbVal, const char *pszCfgItem, RTJSONVAL hJsonCfg, size_t cbDef, PRTERRINFO pErrInfo) 216 216 { 217 *pcbVal = cbDef; /* Make GCC 6.3.0 happy. */ 218 217 219 int64_t i64Val = 0; 218 220 int rc = RTJsonValueQueryIntegerByName(hJsonCfg, pszCfgItem, &i64Val); 219 221 if (rc == VERR_NOT_FOUND) 220 {221 *pcbVal = cbDef;222 222 rc = VINF_SUCCESS; 223 }224 223 else if (RT_FAILURE(rc)) 225 224 rc = rtFuzzCmdMasterErrorRc(pErrInfo, rc, "JSON request malformed: Failed to query size_t value of \"%s\"", pszCfgItem);
Note:
See TracChangeset
for help on using the changeset viewer.