René's URL Explorer Experiment


Title: Cast less blindly between configuration objects by carlosmn · Pull Request #4552 · libgit2/libgit2 · GitHub

Open Graph Title: Cast less blindly between configuration objects by carlosmn · Pull Request #4552 · libgit2/libgit2

X Title: Cast less blindly between configuration objects by carlosmn · Pull Request #4552 · libgit2/libgit2

Description: A cross-platform, linkable library implementation of Git that you can use in your application. - Cast less blindly between configuration objects by carlosmn · Pull Request #4552 · libgit2/libgit2

Open Graph Description: As discussed in #4551 we were cowboying it up with the casts which meant we were passing in nonsense values for levels and reading unallocated memory for the repository pointer. This fixes that and...

X Description: As discussed in #4551 we were cowboying it up with the casts which meant we were passing in nonsense values for levels and reading unallocated memory for the repository pointer. This fixes that and...

Opengraph URL: https://github.com/libgit2/libgit2/pull/4552

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:ef906bfb-8060-fdd3-18ab-a40aae1f916e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD80A:2F6413:9D62E54:D408C26:6A5E8871
html-safe-nonce279f85d286991d7c68baf3e7f9b69004c5ba03bc869c2af24a02294d79a305c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODBBOjJGNjQxMzo5RDYyRTU0OkQ0MDhDMjY6NkE1RTg4NzEiLCJ2aXNpdG9yX2lkIjoiODcxMzMzNTA5ODc1NzI1MzIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd0beaf997b0cb4878910db5be75facbff2280df31e859cf15ebe4a24de059139
hovercard-subject-tagpull_request:171922996
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/libgit2/libgit2/4552/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0cc3428260f7d404ef47e24675c7aa4b403f364a1a01ffe26262901a22461e80/libgit2/libgit2/pull/4552
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0cc3428260f7d404ef47e24675c7aa4b403f364a1a01ffe26262901a22461e80/libgit2/libgit2/pull/4552
og:image:altAs discussed in #4551 we were cowboying it up with the casts which meant we were passing in nonsense values for levels and reading unallocated memory for the repository pointer. This fixes that and...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecarlosmn
hostnamegithub.com
expected-hostnamegithub.com
None6846168613b61074bf9dc18814ffe7596f4950f1f3b3070cfea5af602ccb3327
turbo-cache-controlno-cache
go-importgithub.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git
octolytics-dimension-user_id394745
octolytics-dimension-user_loginlibgit2
octolytics-dimension-repository_id901662
octolytics-dimension-repository_nwolibgit2/libgit2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id901662
octolytics-dimension-repository_network_root_nwolibgit2/libgit2
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
release5d2e2a84380a21e7a59801a38bee3d8a5f0e822d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/libgit2/libgit2/pull/4552#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2%2Fpull%2F4552
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Flibgit2%2Flibgit2%2Fpull%2F4552
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=libgit2%2Flibgit2
Reloadhttps://github.com/libgit2/libgit2/pull/4552
Reloadhttps://github.com/libgit2/libgit2/pull/4552
Reloadhttps://github.com/libgit2/libgit2/pull/4552
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
libgit2 https://github.com/libgit2
libgit2https://github.com/libgit2/libgit2
Notifications https://github.com/login?return_to=%2Flibgit2%2Flibgit2
Fork 2.6k https://github.com/login?return_to=%2Flibgit2%2Flibgit2
Star 10.5k https://github.com/login?return_to=%2Flibgit2%2Flibgit2
Code https://github.com/libgit2/libgit2
Issues 423 https://github.com/libgit2/libgit2/issues
Pull requests 109 https://github.com/libgit2/libgit2/pulls
Discussions https://github.com/libgit2/libgit2/discussions
Actions https://github.com/libgit2/libgit2/actions
Projects https://github.com/libgit2/libgit2/projects
Security and quality 9 https://github.com/libgit2/libgit2/security
Insights https://github.com/libgit2/libgit2/pulse
Code https://github.com/libgit2/libgit2
Issues https://github.com/libgit2/libgit2/issues
Pull requests https://github.com/libgit2/libgit2/pulls
Discussions https://github.com/libgit2/libgit2/discussions
Actions https://github.com/libgit2/libgit2/actions
Projects https://github.com/libgit2/libgit2/projects
Security and quality https://github.com/libgit2/libgit2/security
Insights https://github.com/libgit2/libgit2/pulse
pks-thttps://github.com/pks-t
masterhttps://github.com/libgit2/libgit2/tree/master
cmn/config-header-commonhttps://github.com/libgit2/libgit2/tree/cmn/config-header-common
Conversationhttps://github.com/libgit2/libgit2/pull/4552
Commits4 (4)https://github.com/libgit2/libgit2/pull/4552/commits
Checkshttps://github.com/libgit2/libgit2/pull/4552/checks
Files changedhttps://github.com/libgit2/libgit2/pull/4552/files
Cast less blindly between configuration objectshttps://github.com/libgit2/libgit2/pull/4552#top
pks-thttps://github.com/pks-t
masterhttps://github.com/libgit2/libgit2/tree/master
cmn/config-header-commonhttps://github.com/libgit2/libgit2/tree/cmn/config-header-common
https://github.com/carlosmn
carlosmnhttps://github.com/carlosmn
Feb 28, 2018https://github.com/libgit2/libgit2/pull/4552#issue-300984143
#4551https://github.com/libgit2/libgit2/issues/4551
@tiennouhttps://github.com/tiennou
@ethomsonhttps://github.com/ethomson
@pks-thttps://github.com/pks-t
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
carlosmnhttps://github.com/carlosmn
February 28, 2018 11:33https://github.com/libgit2/libgit2/pull/4552#commits-pushed-c1524b2
https://github.com/carlosmn
config: move the repository to the diskfile headerhttps://github.com/libgit2/libgit2/pull/4552/commits/c1524b2e1c6acaa9c3de362bbc92935e997c409c
c1524b2https://github.com/libgit2/libgit2/pull/4552/commits/c1524b2e1c6acaa9c3de362bbc92935e997c409c
https://github.com/carlosmn
config: move the level field into the headerhttps://github.com/libgit2/libgit2/pull/4552/commits/1785de4e5c102defa56849403885b3d5ead24a12
1785de4https://github.com/libgit2/libgit2/pull/4552/commits/1785de4e5c102defa56849403885b3d5ead24a12
https://github.com/carlosmn
config: harden our use of the backend objects a bithttps://github.com/libgit2/libgit2/pull/4552/commits/2424e64c4edf55e823fa42c365e4b80f67ed4df6
2424e64https://github.com/libgit2/libgit2/pull/4552/commits/2424e64c4edf55e823fa42c365e4b80f67ed4df6
https://github.com/pks-t
pks-thttps://github.com/pks-t
Feb 28, 2018 https://github.com/libgit2/libgit2/pull/4552#pullrequestreview-100070388
View reviewed changes https://github.com/libgit2/libgit2/pull/4552/files/2424e64c4edf55e823fa42c365e4b80f67ed4df6
src/config_file.chttps://github.com/libgit2/libgit2/pull/4552/files/1785de4e5c102defa56849403885b3d5ead24a12..2424e64c4edf55e823fa42c365e4b80f67ed4df6#diff-7f7808ba971e4b3ec68bee87f98d20c21c3e0e8453734e7ad0c7655e44faebcf
pks-thttps://github.com/pks-t
Feb 28, 2018https://github.com/libgit2/libgit2/pull/4552#discussion_r171251721
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
carlosmnhttps://github.com/carlosmn
Feb 28, 2018https://github.com/libgit2/libgit2/pull/4552#discussion_r171256120
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
pks-thttps://github.com/pks-t
Feb 28, 2018https://github.com/libgit2/libgit2/pull/4552#discussion_r171266296
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
carlosmnhttps://github.com/carlosmn
Feb 28, 2018https://github.com/libgit2/libgit2/pull/4552#discussion_r171272131
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
https://github.com/carlosmn
config: return an error if config_refresh is called on a snapshothttps://github.com/libgit2/libgit2/pull/4552/commits/9cd0c6f1f1b8dc5fbb5957e1ff3291953b14379e
9cd0c6fhttps://github.com/libgit2/libgit2/pull/4552/commits/9cd0c6f1f1b8dc5fbb5957e1ff3291953b14379e
https://github.com/pks-t
pks-thttps://github.com/pks-t
8a8ea1dhttps://github.com/libgit2/libgit2/commit/8a8ea1db12eeeefe2dc3e192f597df9892588f6a
Feb 28, 2018https://github.com/libgit2/libgit2/pull/4552#event-1497224981
https://github.com/ethomson
ethomsonhttps://github.com/ethomson
Feb 28, 2018 https://github.com/libgit2/libgit2/pull/4552#ref-issue-300797863
config: invalid read of size 8 reported by valgrind #4551 https://github.com/libgit2/libgit2/issues/4551
https://github.com/pks-t
pks-thttps://github.com/pks-t
Mar 2, 2018 https://github.com/libgit2/libgit2/pull/4552#ref-pullrequest-295870796
Configuration entry iteration in order #4525 https://github.com/libgit2/libgit2/pull/4525
https://github.com/carlosmn
carlosmnhttps://github.com/carlosmn
September 17, 2018 18:53https://github.com/libgit2/libgit2/pull/4552#event-1850565988
https://github.co/hiddenchars
https://github.com/libgit2/libgit2/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%2Flibgit2%2Flibgit2%2Fpull%2F4552
https://github.com/pks-t
pks-t https://github.com/pks-t
https://github.com/libgit2/libgit2/pull/4552/files/2424e64c4edf55e823fa42c365e4b80f67ed4df6
Please reload this pagehttps://github.com/libgit2/libgit2/pull/4552
https://github.com/carlosmn
https://github.com/pks-t
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.