Title: fixed fuzzing crash in `CheckAssert::checkVariableAssignment()` by firewave · Pull Request #6162 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: fixed fuzzing crash in `CheckAssert::checkVariableAssignment()` by firewave · Pull Request #6162 · cppcheck-opensource/cppcheck
X Title: fixed fuzzing crash in `CheckAssert::checkVariableAssignment()` by firewave · Pull Request #6162 · cppcheck-opensource/cppcheck
Description: /home/user/CLionProjects/cppcheck-rider/lib/checkassert.cpp:132:53: runtime error: member call on null pointer of type 'Token'
#0 0x63f3e941d85a in CheckAssert::checkVariableAssignment(Token const*, Scope const*) /home/user/CLionProjects/cppcheck-rider/lib/checkassert.cpp:132:53
#1 0x63f3e941c846 in CheckAssert::assertWithSideEffects() /home/user/CLionProjects/cppcheck-rider/lib/checkassert.cpp:58:13
#2 0x63f3e941f243 in CheckAssert::runChecks(Tokenizer const&, ErrorLogger*) /home/user/CLionProjects/cppcheck-rider/lib/checkassert.h:54:21
#3 0x63f3e9aa04cd in CppCheck::checkNormalTokens(Tokenizer const&) /home/user/CLionProjects/cppcheck-rider/lib/cppcheck.cpp:1124:20
#4 0x63f3e9ab94ab in CppCheck::checkFile(std::__cxx11::basic_string
Open Graph Description: /home/user/CLionProjects/cppcheck-rider/lib/checkassert.cpp:132:53: runtime error: member call on null pointer of type 'Token' #0 0x63f3e941d85a in CheckAssert::checkVariableAssignment(...
X Description: /home/user/CLionProjects/cppcheck-rider/lib/checkassert.cpp:132:53: runtime error: member call on null pointer of type 'Token' #0 0x63f3e941d85a in CheckAssert::checkVariableAss...
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/6162
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9b94f882-bd6d-331a-e4d4-23b03b8b9fb2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF36:1179A2:977963:CD41E4:6A505B06 |
| html-safe-nonce | 0c5c4e13500a05682bfac373a66f85e67b0ac747d6c053f4b3126165a5cd0121 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjM2OjExNzlBMjo5Nzc5NjM6Q0Q0MUU0OjZBNTA1QjA2IiwidmlzaXRvcl9pZCI6IjcwNTc1ODAzNzA5ODQ3MjExNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3c8ad7f5a621b1537ff283c565f302d16b9b37cb7485c2109093671a7b579523 |
| hovercard-subject-tag | pull_request:1782007809 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/6162/files |
| twitter:image | https://avatars.githubusercontent.com/u/242857?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/242857?s=400&v=4 |
| og:image:alt | /home/user/CLionProjects/cppcheck-rider/lib/checkassert.cpp:132:53: runtime error: member call on null pointer of type 'Token' #0 0x63f3e941d85a in CheckAssert::checkVariableAssignment(... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 143131 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/cppcheck |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143131 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/cppcheck |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width