René's URL Explorer Experiment


Title: Fix #15225 (FN arrayIndexOutOfBounds: sizeof(arr) unknown when the array dimension contains sizeof of a struct, variable or dereference) by JayToltTech · Pull Request #9037 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #15225 (FN arrayIndexOutOfBounds: sizeof(arr) unknown when the array dimension contains sizeof of a struct, variable or dereference) by JayToltTech · Pull Request #9037 · cppcheck-opensource/cppcheck

X Title: Fix #15225 (FN arrayIndexOutOfBounds: sizeof(arr) unknown when the array dimension contains sizeof of a struct, variable or dereference) by JayToltTech · Pull Request #9037 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Open Graph Description: https://trac.cppcheck.net/ticket/15225 Replaces #9036, which I've closed. That one patched a single reader of the array dimension, and the review there found it gave a false positive for array...

X Description: https://trac.cppcheck.net/ticket/15225 Replaces #9036, which I've closed. That one patched a single reader of the array dimension, and the review there found it gave a false positive for a...

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/9037

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:183be1a4-bce5-bc21-b640-a0484e3ed8fc
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id850C:39DE99:2B2C1A:3C0610:6AFC4E17
html-safe-nonce39c0a3f86cea043bb818a95306dee14c171fa27dc49645a3dd3f9678e7833c0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTBDOjM5REU5OToyQjJDMUE6M0MwNjEwOjZBRkM0RTE3IiwidmlzaXRvcl9pZCI6IjgwMTUwNTQzOTgwNDYzNTkwNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace8cf5e7127664fdefd3e2d55c5cd0a4c052a275f001835ef5bfec20ef6e7c996
hovercard-subject-tagpull_request:5347096635
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/9037/checks
twitter:imagehttps://opengraph.githubassets.com/2450a0b9dfdd639f0138ed3f3e333eb98ce1d1dfe8b9da72773269737227cbea/cppcheck-opensource/cppcheck/pull/9037
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2450a0b9dfdd639f0138ed3f3e333eb98ce1d1dfe8b9da72773269737227cbea/cppcheck-opensource/cppcheck/pull/9037
og:image:althttps://trac.cppcheck.net/ticket/15225 Replaces #9036, which I've closed. That one patched a single reader of the array dimension, and the review there found it gave a false positive for array...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJayToltTech
hostnamegithub.com
expected-hostnamegithub.com
Noneb63557e0027d8014589e873df28328da74a4356701bb1a9eab49dbf012ba8fa6
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0243355b0352c83733a042e0dfb3d75149b51261
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/9037/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9037%2Fchecks
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9037%2Fchecks
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9037/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9037/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9037/checks
cppcheck-opensourcehttps://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Codehttps://github.com/cppcheck-opensource/cppcheck
Pull requests222 (222)https://github.com/cppcheck-opensource/cppcheck/pulls
Actionshttps://github.com/cppcheck-opensource/cppcheck/actions
Security and qualityhttps://github.com/cppcheck-opensource/cppcheck/security
Insightshttps://github.com/cppcheck-opensource/cppcheck/pulse
https://github.com/cppcheck-opensource/cppcheck
JayToltTechhttps://github.com/JayToltTech
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
JayToltTech:fix-15225-array-dim-earlyhttps://github.com/JayToltTech/cppcheck/tree/fix-15225-array-dim-early
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/9037
Commits1 (1)https://github.com/cppcheck-opensource/cppcheck/pull/9037/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/9037/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/9037/files
Fix #15225 (FN arrayIndexOutOfBounds: sizeof(arr) unknown when the array dimension contains sizeof of a struct, variable or dereference)https://github.com/cppcheck-opensource/cppcheck/pull/9037/checks#top
JayToltTechhttps://github.com/JayToltTech
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
JayToltTech:fix-15225-array-dim-earlyhttps://github.com/JayToltTech/cppcheck/tree/fix-15225-array-dim-early
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9037/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9037%2Fchecks
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197649
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197649/job/133870709851?pr=9037
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870712641?pr=9037
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713017?pr=9037
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713039?pr=9037
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713018?pr=9037
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870712993?pr=9037
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870712988?pr=9037
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713148?pr=9037
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713104?pr=9037
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713035?pr=9037
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713066?pr=9037
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870712916?pr=9037
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870712933?pr=9037
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197644/job/133870713158?pr=9037
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197785
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197785/job/133870719099?pr=9037
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197785/job/133870719711?pr=9037
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827
build_cmake (ubuntu:24.04, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827/job/133870715680?pr=9037
build_cmake (ubuntu:25.10, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827/job/133870715666?pr=9037
build_cmake (alpine:3.23, false, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827/job/133870715643?pr=9037
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827/job/133870715628?pr=9037
build_make (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827/job/133870715691?pr=9037
build_make (alpine:3.23) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197827/job/133870715391?pr=9037
sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197862
build (asan, -DANALYZE_ADDRESS=On, true, process, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197862/job/133870718021?pr=9037
build (tsan, -DANALYZE_THREAD=On, false, thread, false, --executor=thread --error-exitcode=0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197862/job/133870717738?pr=9037
build (ubsan, -DANALYZE_UNDEFINED=On, true, process, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197862/job/133870718042?pr=9037
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197904
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197904/job/133870719953?pr=9037
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197924
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197924/job/133870722204?pr=9037
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197924/job/133870722452?pr=9037
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197933
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197933/job/133870725389?pr=9037
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197955
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979197955/job/133870731616?pr=9037
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198007
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198007/job/133870742184?pr=9037
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198046
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198046/job/133870746083?pr=9037
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198063
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198063/job/133870750393?pr=9037
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198073
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198073/job/133870747817?pr=9037
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198099
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198099/job/133870749430?pr=9037
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198198
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198198/job/133870753611?pr=9037
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133870750151?pr=9037
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133870750511?pr=9037
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133870750505?pr=9037
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133870750343?pr=9037
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841677?pr=9037
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841802?pr=9037
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841690?pr=9037
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841712?pr=9037
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841611?pr=9037
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841694?pr=9037
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841670?pr=9037
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198256/job/133872841625?pr=9037
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758660?pr=9037
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758483?pr=9037
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758446?pr=9037
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758516?pr=9037
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758527?pr=9037
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758382?pr=9037
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758672?pr=9037
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758674?pr=9037
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758562?pr=9037
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758420?pr=9037
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758054?pr=9037
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758374?pr=9037
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758430?pr=9037
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758770?pr=9037
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758361?pr=9037
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758424?pr=9037
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758577?pr=9037
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758565?pr=9037
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133870758617?pr=9037
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198258/job/133887527295?pr=9037
gcc-versions on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198383
build (ghcr.io/cppcheck-opensource/gcc:5.4) https://github.com/cppcheck-opensource/cppcheck/actions/runs/43979198383/job/133870755332?pr=9037
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/9037/checks?check_run_id=133872357958
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/9037/checks?check_run_id=133874027908
Install Qt 6.10.0 https://github.com/cppcheck-opensource/cppcheck/pull/9037/checks#annotation:5:78
https://github.com/miurahr/aqtinstall/issues/1042https://github.com/miurahr/aqtinstall/issues/1042
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.