René's URL Explorer Experiment


Title: Fix #8260 Improve check: Pointer calculation result not null by francois-berder · Pull Request #8061 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #8260 Improve check: Pointer calculation result not null by francois-berder · Pull Request #8061 · cppcheck-opensource/cppcheck

X Title: Fix #8260 Improve check: Pointer calculation result not null by francois-berder · Pull Request #8061 · cppcheck-opensource/cppcheck

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

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:5f29130f-bd05-dc2e-165d-f156a46e09fb
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idD6C4:CD446:48EBC79:663DDA8:6A4F85D0
html-safe-nonce0618b7769f3bbbff1b8027c0d48215c6559877e1c3b045d10595fddfc22883e8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM0OkNENDQ2OjQ4RUJDNzk6NjYzRERBODo2QTRGODVEMCIsInZpc2l0b3JfaWQiOiIzNTkzNTAyMDAyMjM4OTI5NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacda37aa14ea5a87a25174cf7d45eabe030e45b5d10c61885122d2a7c1c933989d
hovercard-subject-tagpull_request:3131467558
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/8061/checks
twitter:imagehttps://opengraph.githubassets.com/c46c096c1418f9715da7889f6df6e1780736acbaa8b8b904bec99b7c202949c2/cppcheck-opensource/cppcheck/pull/8061
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c46c096c1418f9715da7889f6df6e1780736acbaa8b8b904bec99b7c202949c2/cppcheck-opensource/cppcheck/pull/8061
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefrancois-berder
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8061%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8061%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 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
francois-berderhttps://github.com/francois-berder
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
francois-berder:pr-8260https://github.com/francois-berder/cppcheck/tree/pr-8260
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/8061
Commits9 (9)https://github.com/cppcheck-opensource/cppcheck/pull/8061/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/8061/files
Fix #8260 Improve check: Pointer calculation result not nullhttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks#top
francois-berderhttps://github.com/francois-berder
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
francois-berder:pr-8260https://github.com/francois-berder/cppcheck/tree/pr-8260
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8061/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8061%2Fchecks
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695
build_cmake (ubuntu:24.04, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695/job/84726343563?pr=8061
build_cmake (ubuntu:25.10, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695/job/84726343533?pr=8061
build_cmake (alpine:3.23, false, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695/job/84726343610?pr=8061
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695/job/84726343605?pr=8061
build_make (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695/job/84726343559?pr=8061
build_make (alpine:3.23) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546695/job/84726343553?pr=8061
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546700
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546700/job/84726343541?pr=8061
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546700/job/84726343499?pr=8061
sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546707
build (asan, -DANALYZE_ADDRESS=On, true, process, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546707/job/84726343531?pr=8061
build (tsan, -DANALYZE_THREAD=On, false, thread, false, --executor=thread --error-exitcode=0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546707/job/84726343571?pr=8061
build (ubsan, -DANALYZE_UNDEFINED=On, true, process, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546707/job/84726343528?pr=8061
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546716
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546716/job/84726343607?pr=8061
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546749
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546749/job/84726343948?pr=8061
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546761
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546761/job/84726343861?pr=8061
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84726343787?pr=8061
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84726343841?pr=8061
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84726343784?pr=8061
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84726343822?pr=8061
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223324?pr=8061
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223314?pr=8061
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223325?pr=8061
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223374?pr=8061
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223333?pr=8061
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223316?pr=8061
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223336?pr=8061
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546776/job/84727223334?pr=8061
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546779
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546779/job/84726343840?pr=8061
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546786
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546786/job/84726344115?pr=8061
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546788
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546788/job/84726343880?pr=8061
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546791
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546791/job/84726343854?pr=8061
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546794
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546794/job/84726343936?pr=8061
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546802
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546802/job/84726343933?pr=8061
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344446?pr=8061
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344353?pr=8061
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344374?pr=8061
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344363?pr=8061
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344430?pr=8061
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344463?pr=8061
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344450?pr=8061
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344466?pr=8061
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344440?pr=8061
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344424?pr=8061
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344402?pr=8061
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344387?pr=8061
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344342?pr=8061
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344406?pr=8061
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344371?pr=8061
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344375?pr=8061
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344410?pr=8061
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344437?pr=8061
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84726344465?pr=8061
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546819/job/84732039305?pr=8061
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546831
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546831/job/84726343970?pr=8061
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546831/job/84726343964?pr=8061
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344020?pr=8061
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344015?pr=8061
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344140?pr=8061
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344192?pr=8061
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344156?pr=8061
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344077?pr=8061
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344174?pr=8061
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344144?pr=8061
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344003?pr=8061
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344041?pr=8061
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344053?pr=8061
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344132?pr=8061
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546842/job/84726344070?pr=8061
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546895
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/28576546895/job/84726344097?pr=8061
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/8061/checks?check_run_id=84726766382
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/8061/checks?check_run_id=84726969182
Complete job https://github.com/cppcheck-opensource/cppcheck/pull/8061/checks#annotation:21:2
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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.