| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:563a7c78-5f5f-63e8-fba8-c375ab2c10b5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CCA:F7D6E:1B6300:2799AE:6AFC4ABA |
| html-safe-nonce | bb5630670465951224ecc3ff8fda6920d2aafdede4a619ea3ced3e885506e593 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0NBOkY3RDZFOjFCNjMwMDoyNzk5QUU6NkFGQzRBQkEiLCJ2aXNpdG9yX2lkIjoiMTQwMDg0NDE2ODUzMTI5OTAwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2c7abebdf106575bf2dbc383be88f00ec1f1d0dfcef514dc4f3849687938db6 |
| hovercard-subject-tag | pull_request:5308112231 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/9027/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c706a2e8dd435caba008e579daa96cd33a9054b87a27283e3263a400b350bdfd/cppcheck-opensource/cppcheck/pull/9027 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c706a2e8dd435caba008e579daa96cd33a9054b87a27283e3263a400b350bdfd/cppcheck-opensource/cppcheck/pull/9027 |
| og:image:alt | CheckBufferOverrunImpl::getBufferSize, accumulateStructMembers (used by ValueType::getSizeOf) and setValues in clangimport multiply the array dimensions of a variable in MathLib::bigint without an ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Nussu06 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 20dfdada12bc00bbf8065dc10dfe3ff3711b85db5cc117f83296f8074e861960 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 041909865f220ab51714e7efdc276dd349a99ade |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/cppcheck-opensource/cppcheck/pull/9027#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9027 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9027 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| Reload | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| cppcheck-opensource | https://github.com/cppcheck-opensource |
| cppcheck | https://github.com/cppcheck-opensource/cppcheck |
| Code | https://github.com/cppcheck-opensource/cppcheck |
| Pull requests222 (222) | https://github.com/cppcheck-opensource/cppcheck/pulls |
| Actions | https://github.com/cppcheck-opensource/cppcheck/actions |
| Security and quality | https://github.com/cppcheck-opensource/cppcheck/security |
| Insights | https://github.com/cppcheck-opensource/cppcheck/pulse |
| https://github.com/cppcheck-opensource/cppcheck |
| Nussu06 | https://github.com/Nussu06 |
| cppcheck-opensource:main | https://github.com/cppcheck-opensource/cppcheck/tree/main |
| Nussu06:array-dimensions-overflow | https://github.com/Nussu06/cppcheck/tree/array-dimensions-overflow |
| Conversation | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| Commits2 (2) | https://github.com/cppcheck-opensource/cppcheck/pull/9027/commits |
| Checks | https://github.com/cppcheck-opensource/cppcheck/pull/9027/checks |
| Files changed | https://github.com/cppcheck-opensource/cppcheck/pull/9027/files |
| fix signed overflow when multiplying array dimensions | https://github.com/cppcheck-opensource/cppcheck/pull/9027#top |
| Nussu06 | https://github.com/Nussu06 |
| cppcheck-opensource:main | https://github.com/cppcheck-opensource/cppcheck/tree/main |
| Nussu06:array-dimensions-overflow | https://github.com/Nussu06/cppcheck/tree/array-dimensions-overflow |
|
| https://github.com/Nussu06 |
| Nussu06 | https://github.com/Nussu06 |
| Nov 14, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issue-6386205579 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
|
| https://github.com/Nussu06 |
| fix signed overflow when multiplying array dimensions | https://github.com/cppcheck-opensource/cppcheck/pull/9027/commits/e208afcd492977b8d9e71ba99e4549a09802aadd |
| e208afc | https://github.com/cppcheck-opensource/cppcheck/pull/9027/commits/e208afcd492977b8d9e71ba99e4549a09802aadd |
| https://github.com/dmcppcheck |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 14, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issuecomment-6873491077 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| https://github.com/Nussu06 |
| Nussu06 | https://github.com/Nussu06 |
| Nov 14, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issuecomment-6880658973 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| https://github.com/dmcppcheck |
| dmcppcheck | https://github.com/dmcppcheck |
|
Nov 14, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/9027#pullrequestreview-5907367551 |
|
View reviewed changes
| https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/e208afcd492977b8d9e71ba99e4549a09802aadd |
| dmcppcheck | https://github.com/dmcppcheck |
| https://github.com/cppcheck-opensource/cppcheck/pull/9027#pullrequestreview-5907367551 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| e208afc | https://github.com/cppcheck-opensource/cppcheck/commit/e208afcd492977b8d9e71ba99e4549a09802aadd |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| lib/checkbufferoverrun.cpp | https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/e208afcd492977b8d9e71ba99e4549a09802aadd#diff-d584d9f2aa837baffb3919d3638820a0642225a96cfa8f8766cba5b6e21a8182 |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 14, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4575830186 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| lib/symboldatabase.cpp | https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/e208afcd492977b8d9e71ba99e4549a09802aadd#diff-304f15dd3a4d25ecfae37990291a91ca66aecd56342bcf2979c102afa4da262d |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 14, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4575830190 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| lib/clangimport.cpp | https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/e208afcd492977b8d9e71ba99e4549a09802aadd#diff-dabf979b8bb2c063fa6c677f577d1384c0fa514681ed04d80a44e1f8ea5ba3fd |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 14, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4575830194 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| https://github.com/dmcppcheck |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 15, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issuecomment-6890123586 |
| e208afc | https://github.com/cppcheck-opensource/cppcheck/commit/e208afcd492977b8d9e71ba99e4549a09802aadd |
| http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/ | http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/ |
| http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/2026-11-14_06-15-12-e208afcd4929_timing.html | http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/2026-11-14_06-15-12-e208afcd4929_timing.html |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
|
| https://github.com/Nussu06 |
| check the array byte size for overflow too and share mulOverflows | https://github.com/cppcheck-opensource/cppcheck/pull/9027/commits/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860 |
| 1906bfa | https://github.com/cppcheck-opensource/cppcheck/pull/9027/commits/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860 |
| https://github.com/Nussu06 |
| Nussu06 | https://github.com/Nussu06 |
| Nov 15, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issuecomment-6897812087 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| https://github.com/dmcppcheck |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 16, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issuecomment-6923336368 |
| 1906bfa | https://github.com/cppcheck-opensource/cppcheck/commit/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860 |
| http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/ | http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/ |
| http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/2026-11-15_16-41-39-1906bfaf48e6_timing.html | http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9027/2026-11-15_16-41-39-1906bfaf48e6_timing.html |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| https://github.com/dmcppcheck |
| dmcppcheck | https://github.com/dmcppcheck |
|
Nov 16, 2026
| https://github.com/cppcheck-opensource/cppcheck/pull/9027#pullrequestreview-5924587789 |
|
View reviewed changes
| https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860 |
| dmcppcheck | https://github.com/dmcppcheck |
| https://github.com/cppcheck-opensource/cppcheck/pull/9027#pullrequestreview-5924587789 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| PR needs a trac ticket and the title should reference it | https://github.com/cppcheck-opensource/cppcheck/pull/9027#issuecomment-6873491077 |
| @dmcppcheck | https://github.com/dmcppcheck |
| Byte size (count * element size) can still wrap, so false positives remain for int elements | https://github.com/cppcheck-opensource/cppcheck/pull/9027#pullrequestreview-5907367551 |
| New overflow check duplicates the existing mulOverflows() | https://github.com/cppcheck-opensource/cppcheck/pull/9027#pullrequestreview-5907367551 |
| getBufferSize: (dim - index) * typeSize is not checked for overflow | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4575830186 |
| accHelper n *= dim can wrap; sizeof(struct U {int m[...]}) is folded to 4 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4575830190 |
| clangimport: mul * getSizeOf and += into typeSize are not checked | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4575830194 |
| @Nussu06 | https://github.com/Nussu06 |
| 1906bfa | https://github.com/cppcheck-opensource/cppcheck/commit/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| lib/symboldatabase.cpp | https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860#diff-304f15dd3a4d25ecfae37990291a91ca66aecd56342bcf2979c102afa4da262d |
| dmcppcheck | https://github.com/dmcppcheck |
| Nov 16, 2026 | https://github.com/cppcheck-opensource/cppcheck/pull/9027#discussion_r4589262346 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| https://github.co/hiddenchars |
| https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9027 |
|
| https://github.com/dmcppcheck |
|
dmcppcheck
| https://github.com/dmcppcheck |
|
| https://github.com/cppcheck-opensource/cppcheck/pull/9027/files/1906bfaf48e6da6a7244ff8df9f1b482a4ed9860 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
| Please reload this page | https://github.com/cppcheck-opensource/cppcheck/pull/9027 |
|
| https://github.com/Nussu06 |
|
| https://github.com/dmcppcheck |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |