René's URL Explorer Experiment


Title: check rfind() result in simplifyPath() before using it - fixes "unsig… by firewave · Pull Request #196 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: check rfind() result in simplifyPath() before using it - fixes "unsig… by firewave · Pull Request #196 · cppcheck-opensource/simplecpp

X Title: check rfind() result in simplifyPath() before using it - fixes "unsig… by firewave · Pull Request #196 · cppcheck-opensource/simplecpp

Description: …ned integer overflow" reported by UBSAN /mnt/s/GitHub/cppcheck-fw/externals/simplecpp/simplecpp.cpp:2190:75: runtime error: unsigned integer overflow: 18446744073709551615 + 1 cannot be represented in type 'unsigned long' #0 0x2e9f4fe in simplecpp::simplifyPath(std::__cxx11::basic_string, std::allocator >) /mnt/s/GitHub/cppcheck-fw/externals/simplecpp/simplecpp.cpp:2190:75 #1 0x26cc621 in Path::simplifyPath(std::__cxx11::basic_string, std::allocator >) /mnt/s/GitHub/cppcheck-fw/lib/path.cpp:77:12 #2 0x277eace in Suppressions::ErrorMessage::setFileName(std::__cxx11::basic_string, std::allocator > const&) /mnt/s/GitHub/cppcheck-fw/lib/suppressions.cpp:268:17 #3 0x15a8b1f in TestSuppressions::errorMessage(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, int) const /mnt/s/GitHub/cppcheck-fw/test/testsuppressions.cpp:92:13 #4 0x1592e8c in TestSuppressions::suppressionsFileNameWithExtraPath() const /mnt/s/GitHub/cppcheck-fw/test/testsuppressions.cpp:153:9 #5 0x158852a in TestSuppressions::run() /mnt/s/GitHub/cppcheck-fw/test/testsuppressions.cpp:45:9 #6 0x157ec40 in TestFixture::run(std::__cxx11::basic_string, std::allocator > const&) /mnt/s/GitHub/cppcheck-fw/test/testsuite.cpp:369:9 #7 0x157fd62 in TestFixture::runTests(options const&) /mnt/s/GitHub/cppcheck-fw/test/testsuite.cpp:392:23 #8 0x12f9b85 in main /mnt/s/GitHub/cppcheck-fw/test/testrunner.cpp:44:46 #9 0x7f3c13dd7cc9 in __libc_start_main csu/../csu/libc-start.c:308:16 #10 0x8dd649 in _start (/mnt/s/GitHub/cppcheck-fw/cmake-build-debug-wsl-kali-clang-asan-ubsan/bin/testrunner+0x8dd649)

Open Graph Description: …ned integer overflow" reported by UBSAN /mnt/s/GitHub/cppcheck-fw/externals/simplecpp/simplecpp.cpp:2190:75: runtime error: unsigned integer overflow: 18446744073709551615 + 1 cannot be repre...

X Description: …ned integer overflow" reported by UBSAN /mnt/s/GitHub/cppcheck-fw/externals/simplecpp/simplecpp.cpp:2190:75: runtime error: unsigned integer overflow: 18446744073709551615 + 1 cannot be r...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d54f6025-b441-359e-cf27-72b5700b5c3c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB026:15E14F:1D0CA85:2797422:6A54033A
html-safe-nonceb11d8df790614b9ca439cb300c19bf7797a14f27b64960c0539bdc2b427f2aeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDI2OjE1RTE0RjoxRDBDQTg1OjI3OTc0MjI6NkE1NDAzM0EiLCJ2aXNpdG9yX2lkIjoiNTA0NDMxNzAwMjE5NTUzNDY1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca0837fdcbfbe337265d3d8cdb662a51b873be889bcb85b99e0db3a5a2298e2a9
hovercard-subject-tagpull_request:529806121
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/simplecpp/pull/196/files
twitter:imagehttps://avatars.githubusercontent.com/u/242857?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/242857?s=400&v=4
og:image:alt…ned integer overflow" reported by UBSAN /mnt/s/GitHub/cppcheck-fw/externals/simplecpp/simplecpp.cpp:2190:75: runtime error: unsigned integer overflow: 18446744073709551615 + 1 cannot be repre...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/196/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F196%2Ffiles
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%2Fsimplecpp%2Fpull%2F196%2Ffiles
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%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
cppcheck-opensource https://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Fork 104 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Star 263 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Code https://github.com/cppcheck-opensource/simplecpp
Issues 83 https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests 32 https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality 0 https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Code https://github.com/cppcheck-opensource/simplecpp
Issues https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
danmarhttps://github.com/danmar
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
firewave:rfindhttps://github.com/firewave/simplecpp/tree/rfind
Conversation 4 https://github.com/cppcheck-opensource/simplecpp/pull/196
Commits 1 https://github.com/cppcheck-opensource/simplecpp/pull/196/commits
Checks 0 https://github.com/cppcheck-opensource/simplecpp/pull/196/checks
Files changed https://github.com/cppcheck-opensource/simplecpp/pull/196/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
check rfind() result in simplifyPath() before using it - fixes "unsig… https://github.com/cppcheck-opensource/simplecpp/pull/196/files#top
Show all changes 1 commit https://github.com/cppcheck-opensource/simplecpp/pull/196/files
7f33b8f check rfind() result in simplifyPath() before using it - fixes "unsig… firewave Nov 30, 2020 https://github.com/cppcheck-opensource/simplecpp/pull/196/commits/7f33b8fddaf5513d6571d4dd692d836b1afdf7e3
Clear filters https://github.com/cppcheck-opensource/simplecpp/pull/196/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
simplecpp.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/196/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
View file https://github.com/firewave/simplecpp/blob/7f33b8fddaf5513d6571d4dd692d836b1afdf7e3/simplecpp.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/196/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/196/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
rikardfalkebornhttps://github.com/rikardfalkeborn
Nov 30, 2020https://github.com/cppcheck-opensource/simplecpp/pull/196/files#r532908189
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
firewavehttps://github.com/firewave
Nov 30, 2020https://github.com/cppcheck-opensource/simplecpp/pull/196/files#r532908892
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
amai2012https://github.com/amai2012
Dec 1, 2020https://github.com/cppcheck-opensource/simplecpp/pull/196/files#r533137212
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#197https://github.com/cppcheck-opensource/simplecpp/pull/197
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/196/files
https://github.com/cppcheck-opensource/simplecpp/pull/196/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
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.