| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -153,6 +153,10 @@ const BindingData::PackageConfig* BindingData::GetPackageJSON( | |||
| 153 | 153 | return throw_invalid_package_config(); | |
| 154 | 154 | } | |
| 155 | 155 | ||
| 156 | + // based on coverity using key with == derefs the raw value | ||
| 157 | + // avoid derefing if its null | ||
| 158 | + if (key.raw() == nullptr) continue; | ||
| 159 | + | ||
| 156 | 160 | if (key == "name") { | |
| 157 | 161 | // Though there is a key "name" with a corresponding value, | |
| 158 | 162 | // the value may not be a string or could be an invalid JSON string | |
| Back | FazBrowse Home | New Git URL |
0 commit comments