René's URL Explorer Experiment


Title: Fix #12327 FP memleak when storing pointer in object / #12332 FN memleak for allocation functions with std:: prefix by chrchr-github · Pull Request #5861 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #12327 FP memleak when storing pointer in object / #12332 FN memleak for allocation functions with std:: prefix by chrchr-github · Pull Request #5861 · cppcheck-opensource/cppcheck

X Title: Fix #12327 FP memleak when storing pointer in object / #12332 FN memleak for allocation functions with std:: prefix by chrchr-github · Pull Request #5861 · 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/5861

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:703ab130-ef6b-e1aa-92d4-ece3c63dcf43
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB2F6:358B3C:FAE3DE:164772B:6A4F5A1B
html-safe-nonceabc2c64d3f9322c98197be03cf19e579978829e899bab1c7daba27e2320c0fd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkY2OjM1OEIzQzpGQUUzREU6MTY0NzcyQjo2QTRGNUExQiIsInZpc2l0b3JfaWQiOiIyNjk1MTc1ODQ3ODQ5OTc0MzAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3eea97d45a88c331a2018bb3bbe3dddbc356d92e703a4cd3a3d4750ec10be69a
hovercard-subject-tagpull_request:1668963007
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/5861/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/19543a4c36c82a30ecb15d75d56c925aa76d529c91f7ac98c79bef5fc52a302c/cppcheck-opensource/cppcheck/pull/5861
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19543a4c36c82a30ecb15d75d56c925aa76d529c91f7ac98c79bef5fc52a302c/cppcheck-opensource/cppcheck/pull/5861
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechrchr-github
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/5861#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F5861
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%2F5861
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
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/5861
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/5861
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/5861
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
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 201 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
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_Fix12327https://github.com/chrchr-github/cppcheck/tree/chr_Fix12327
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/5861
Commits18 (18)https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/5861/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/files
Fix #12327 FP memleak when storing pointer in object / #12332 FN memleak for allocation functions with std:: prefixhttps://github.com/cppcheck-opensource/cppcheck/pull/5861#top
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_Fix12327https://github.com/chrchr-github/cppcheck/tree/chr_Fix12327
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jan 8, 2024https://github.com/cppcheck-opensource/cppcheck/pull/5861#issue-2070488434
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
chrchr-githubhttps://github.com/chrchr-github
January 8, 2024 14:41https://github.com/cppcheck-opensource/cppcheck/pull/5861#commits-pushed-fa86a40
https://github.com/chrchr-github
Fix #12327 FP memleak when storing pointer in objecthttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/fa86a40cd55ecda3186e05b1668791a63b7abf07
fa86a40https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/fa86a40cd55ecda3186e05b1668791a63b7abf07
https://github.com/chrchr-github
Fix checkLibraryUseIgnore warninghttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/87b2dd414f31f987b456671af3c9ec6a216c218a
87b2dd4https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/87b2dd414f31f987b456671af3c9ec6a216c218a
https://github.com/chrchr-github
Fix #12332 FN memleak for allocation functions with std:: prefix (reg…https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/4fc0a1f70af21d89fbcc6e118dbd38e732efc373
4fc0a1fhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/4fc0a1f70af21d89fbcc6e118dbd38e732efc373
https://github.com/chrchr-github
Fix testhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/a40ecfc73773b635cde1dd52289b7f6d0ed2ef26
a40ecfchttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/a40ecfc73773b635cde1dd52289b7f6d0ed2ef26
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jan 8, 2024https://github.com/cppcheck-opensource/cppcheck/pull/5861#event-11421050229
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jan 8, 2024https://github.com/cppcheck-opensource/cppcheck/pull/5861#event-11421051784
chrchr-githubhttps://github.com/chrchr-github
January 10, 2024 16:41https://github.com/cppcheck-opensource/cppcheck/pull/5861#commits-pushed-c1c91a3
https://github.com/chrchr-github
std::randhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/c1c91a3a0146e181baad035a7a6ef0aa32e20dbf
c1c91a3https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/c1c91a3a0146e181baad035a7a6ef0aa32e20dbf
https://github.com/chrchr-github
std::reallochttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/f6d929a9f72d50d7f0a2469a4460bdcee4497bc7
f6d929ahttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/f6d929a9f72d50d7f0a2469a4460bdcee4497bc7
https://github.com/chrchr-github
Fix testhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/17bcbec60fe7d8c3589db2b2ab7a871a464cbd6c
17bcbechttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/17bcbec60fe7d8c3589db2b2ab7a871a464cbd6c
https://github.com/chrchr-github
Merge branch 'main' into chr_Fix12327https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/2a8a69c0db4783ae9c7778c102b31f74d4ae1cd9
2a8a69chttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/2a8a69c0db4783ae9c7778c102b31f74d4ae1cd9
https://github.com/danmar
danmarhttps://github.com/danmar
Jan 13, 2024 https://github.com/cppcheck-opensource/cppcheck/pull/5861#pullrequestreview-1820011503
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5861/files/2a8a69c0db4783ae9c7778c102b31f74d4ae1cd9
lib/library.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5861/files/2a8a69c0db4783ae9c7778c102b31f74d4ae1cd9#diff-8f05b3c2288766213fc2c777d67a2d7562afd6a9a27386037fedf952cc6b4caa
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
chrchr-githubhttps://github.com/chrchr-github
January 15, 2024 11:36https://github.com/cppcheck-opensource/cppcheck/pull/5861#commits-pushed-eb617fa
https://github.com/chrchr-github
Add std aliases to libraryhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/eb617fa86f05391758a08007f697cafdb6aa3e0f
eb617fahttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/eb617fa86f05391758a08007f697cafdb6aa3e0f
https://github.com/chrchr-github
Merge branch 'chr_Fix12327' ofhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/54ae2bb2fd398c18a42043ae851c0b26f1afe1a2
https://github.com/chrchr-github/cppcheckhttps://github.com/chrchr-github/cppcheck
54ae2bbhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/54ae2bb2fd398c18a42043ae851c0b26f1afe1a2
https://github.com/chrchr-github/cppcheck
https://github.com/chrchr-github
Fix schemahttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/827326fcae600b4f3a22467f7f9ca302a10d0290
827326fhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/827326fcae600b4f3a22467f7f9ca302a10d0290
https://github.com/chrchr-github
Formathttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/362b9e60e3bebf18281a10b9aaf25f8f9d471cba
362b9e6https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/362b9e60e3bebf18281a10b9aaf25f8f9d471cba
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jan 15, 2024https://github.com/cppcheck-opensource/cppcheck/pull/5861#issuecomment-1892031240
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
chrchr-githubhttps://github.com/chrchr-github
January 15, 2024 14:10https://github.com/cppcheck-opensource/cppcheck/pull/5861#commits-pushed-e0c741a
https://github.com/chrchr-github
Move reallocarray() to bsd.cfghttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/e0c741a04644c31bd24724ac623f03f94b5bbeb5
e0c741ahttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/e0c741a04644c31bd24724ac623f03f94b5bbeb5
https://github.com/chrchr-github
Fixhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/57ec3d3ecc340d64e8acfac048384ac2347d093f
57ec3d3https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/57ec3d3ecc340d64e8acfac048384ac2347d093f
https://github.com/chrchr-github
Fixhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/5a4baabdccef8e8f500f1759a89cca5bc060eed4
5a4baabhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/5a4baabdccef8e8f500f1759a89cca5bc060eed4
https://github.com/chrchr-github
Fixhttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/8de767775871d3495cc20fc736a30b6277906faf
8de7677https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/8de767775871d3495cc20fc736a30b6277906faf
https://github.com/chrchr-github
Movehttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/e90a8018b7cacf51487315ad6dedc9dc88d0c574
e90a801https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/e90a8018b7cacf51487315ad6dedc9dc88d0c574
https://github.com/danmar
danmarhttps://github.com/danmar
Jan 17, 2024 https://github.com/cppcheck-opensource/cppcheck/pull/5861#pullrequestreview-1828157240
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5861/files/e90a8018b7cacf51487315ad6dedc9dc88d0c574
lib/library.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/5861/files/e90a8018b7cacf51487315ad6dedc9dc88d0c574#diff-8f05b3c2288766213fc2c777d67a2d7562afd6a9a27386037fedf952cc6b4caa
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
https://github.com/chrchr-github
Restore, add aliashttps://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/6dc15088e3def31568c7df6c611979872f18e5f6
6dc1508https://github.com/cppcheck-opensource/cppcheck/pull/5861/commits/6dc15088e3def31568c7df6c611979872f18e5f6
https://github.com/danmar
danmarhttps://github.com/danmar
Jan 18, 2024 https://github.com/cppcheck-opensource/cppcheck/pull/5861#pullrequestreview-1830392698
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/5861/files/6dc15088e3def31568c7df6c611979872f18e5f6
danmarhttps://github.com/danmar
https://github.com/cppcheck-opensource/cppcheck/pull/5861#pullrequestreview-1830392698
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
303652chttps://github.com/cppcheck-opensource/cppcheck/commit/303652c69c3285a62a0435174f769915225f30c0
Jan 18, 2024https://github.com/cppcheck-opensource/cppcheck/pull/5861#event-11529151337
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
January 18, 2024 19:13https://github.com/cppcheck-opensource/cppcheck/pull/5861#event-11529151939
https://github.com/firewave
firewavehttps://github.com/firewave
Mar 19, 2024 https://github.com/cppcheck-opensource/cppcheck/pull/5861#ref-pullrequest-2194446350
made all suppressions in cfg tests inline / added TODOs #6154 https://github.com/cppcheck-opensource/cppcheck/pull/6154
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F5861
https://github.com/danmar
danmar https://github.com/danmar
https://github.com/cppcheck-opensource/cppcheck/pull/5861/files/6dc15088e3def31568c7df6c611979872f18e5f6
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/5861
https://github.com/chrchr-github
https://github.com/danmar
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.