René's URL Explorer Experiment


Title: prevent out of bound color values in `doSetTile_char` by ab9rf · Pull Request #5864 · DFHack/dfhack · GitHub

Open Graph Title: prevent out of bound color values in `doSetTile_char` by ab9rf · Pull Request #5864 · DFHack/dfhack

X Title: prevent out of bound color values in `doSetTile_char` by ab9rf · Pull Request #5864 · DFHack/dfhack

Description: Memory hacking library for Dwarf Fortress and a set of tools that use it - prevent out of bound color values in `doSetTile_char` by ab9rf · Pull Request #5864 · DFHack/dfhack

Open Graph Description: some Lua code is leaking a bg of -1 into this function, resulting in an out of bounds reference to uccolor. this logic prohibits such out of bound reads the upstream problem still needs to be found...

X Description: some Lua code is leaking a bg of -1 into this function, resulting in an out of bounds reference to uccolor. this logic prohibits such out of bound reads the upstream problem still needs to be found...

Opengraph URL: https://github.com/DFHack/dfhack/pull/5864

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/_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:9c8a5af4-66fb-5d2f-2b50-8560c51a6c26
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0C0:1BEF18:72B931:98E06A:6AFF953E
html-safe-noncee549e02f2c17a260526d87caa9adbb4ff20933da372856d5c2be712a1921c235
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEMwOjFCRUYxODo3MkI5MzE6OThFMDZBOjZBRkY5NTNFIiwidmlzaXRvcl9pZCI6IjgzOTQwOTg3MjY2NDEwNDY4NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac29b5d083e980b2a6ee0b750562069d37b8438a3bc6120ef55de84222f5ea4465
hovercard-subject-tagpull_request:4210760262
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/DFHack/dfhack/5864/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a43952b55e0eaeb2d12294ec803a5ab42039fbb10a229879119b5d594c101918/DFHack/dfhack/pull/5864
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a43952b55e0eaeb2d12294ec803a5ab42039fbb10a229879119b5d594c101918/DFHack/dfhack/pull/5864
og:image:altsome Lua code is leaking a bg of -1 into this function, resulting in an out of bounds reference to uccolor. this logic prohibits such out of bound reads the upstream problem still needs to be found...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameab9rf
hostnamegithub.com
expected-hostnamegithub.com
None2c75d045e8c84b51e2ac680086a6dd1eeaf2bc15b82137d22ee5106835d6256c
turbo-cache-controlno-cache
go-importgithub.com/DFHack/dfhack git https://github.com/DFHack/dfhack.git
octolytics-dimension-user_id5777323
octolytics-dimension-user_loginDFHack
octolytics-dimension-repository_id517990
octolytics-dimension-repository_nwoDFHack/dfhack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id517990
octolytics-dimension-repository_network_root_nwoDFHack/dfhack
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
releaseaa486b0389431f870c0adf9d4758aaff807c2d97
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/DFHack/dfhack/pull/5864#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDFHack%2Fdfhack%2Fpull%2F5864
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%2FDFHack%2Fdfhack%2Fpull%2F5864
Sign uphttps://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=DFHack%2Fdfhack
Reloadhttps://github.com/DFHack/dfhack/pull/5864
Reloadhttps://github.com/DFHack/dfhack/pull/5864
Reloadhttps://github.com/DFHack/dfhack/pull/5864
DFHackhttps://github.com/DFHack
dfhackhttps://github.com/DFHack/dfhack
Codehttps://github.com/DFHack/dfhack
Issues998 (998)https://github.com/DFHack/dfhack/issues
Pull requests33 (33)https://github.com/DFHack/dfhack/pulls
Discussionshttps://github.com/DFHack/dfhack/discussions
Actionshttps://github.com/DFHack/dfhack/actions
Wikihttps://github.com/DFHack/dfhack/wiki
Security and qualityhttps://github.com/DFHack/dfhack/security
Insightshttps://github.com/DFHack/dfhack/insights
https://github.com/DFHack/dfhack
ab9rfhttps://github.com/ab9rf
DFHack:develophttps://github.com/DFHack/dfhack/tree/develop
ab9rf:pen-color-safetyhttps://github.com/ab9rf/dfhack/tree/pen-color-safety
Conversationhttps://github.com/DFHack/dfhack/pull/5864
Commits2 (2)https://github.com/DFHack/dfhack/pull/5864/commits
Checkshttps://github.com/DFHack/dfhack/pull/5864/checks
Files changedhttps://github.com/DFHack/dfhack/pull/5864/files
prevent out of bound color values in doSetTile_charhttps://github.com/DFHack/dfhack/pull/5864#top
ab9rfhttps://github.com/ab9rf
DFHack:develophttps://github.com/DFHack/dfhack/tree/develop
ab9rf:pen-color-safetyhttps://github.com/ab9rf/dfhack/tree/pen-color-safety
https://github.com/ab9rf
ab9rfhttps://github.com/ab9rf
Aug 5, 2026https://github.com/DFHack/dfhack/pull/5864#issue-5069217151
Please reload this pagehttps://github.com/DFHack/dfhack/pull/5864
Please reload this pagehttps://github.com/DFHack/dfhack/pull/5864
https://github.com/ab9rf
ab9rfhttps://github.com/ab9rf
Aug 5, 2026https://github.com/DFHack/dfhack/pull/5864#event-28999076123
https://github.com/ab9rf
ab9rfhttps://github.com/ab9rf
force-pushedhttps://github.com/DFHack/dfhack/compare/5e269dbd4a35ea157281011bb31b2e51d2cf18f2..04873c1caf89cb114e6b5d9246200272fa12e11c
5e269dbhttps://github.com/DFHack/dfhack/commit/5e269dbd4a35ea157281011bb31b2e51d2cf18f2
04873c1https://github.com/DFHack/dfhack/commit/04873c1caf89cb114e6b5d9246200272fa12e11c
Compare https://github.com/DFHack/dfhack/compare/5e269dbd4a35ea157281011bb31b2e51d2cf18f2..04873c1caf89cb114e6b5d9246200272fa12e11c
August 5, 2026 09:21https://github.com/DFHack/dfhack/pull/5864#event-29000025643
https://github.com/ChrisJohnsen
ChrisJohnsenhttps://github.com/ChrisJohnsen
Aug 5, 2026 https://github.com/DFHack/dfhack/pull/5864#ref-issue-5069413235
std::array assertion in doSetTile_char for non-optimized builds #5865 https://github.com/DFHack/dfhack/issues/5865
https://github.com/ab9rf
prevent out of bound color values in doSetTile_charhttps://github.com/DFHack/dfhack/pull/5864/commits/e274bc76eb8ef2f1d1937e6e1fee2dca4a5ec695
e274bc7https://github.com/DFHack/dfhack/pull/5864/commits/e274bc76eb8ef2f1d1937e6e1fee2dca4a5ec695
https://github.com/ab9rf
ab9rfhttps://github.com/ab9rf
force-pushedhttps://github.com/DFHack/dfhack/compare/1375e464d60106e35013ea32ee9f6a2504064788..e274bc76eb8ef2f1d1937e6e1fee2dca4a5ec695
1375e46https://github.com/DFHack/dfhack/commit/1375e464d60106e35013ea32ee9f6a2504064788
e274bc7https://github.com/DFHack/dfhack/commit/e274bc76eb8ef2f1d1937e6e1fee2dca4a5ec695
Compare https://github.com/DFHack/dfhack/compare/1375e464d60106e35013ea32ee9f6a2504064788..e274bc76eb8ef2f1d1937e6e1fee2dca4a5ec695
August 5, 2026 12:25https://github.com/DFHack/dfhack/pull/5864#event-29008231234
https://github.com/ab9rf
revise changeloghttps://github.com/DFHack/dfhack/pull/5864/commits/a33cad6400b4074a248aafcbe094ede011dc6751
a33cad6https://github.com/DFHack/dfhack/pull/5864/commits/a33cad6400b4074a248aafcbe094ede011dc6751
https://github.com/ab9rf
ab9rfhttps://github.com/ab9rf
58fd12fhttps://github.com/DFHack/dfhack/commit/58fd12f591d63f930313c37959d5280028e0f9ba
Aug 5, 2026https://github.com/DFHack/dfhack/pull/5864#event-29009043261
Please reload this pagehttps://github.com/DFHack/dfhack/pull/5864
https://github.com/ChrisJohnsen
ChrisJohnsenhttps://github.com/ChrisJohnsen
Aug 5, 2026 https://github.com/DFHack/dfhack/pull/5864#ref-pullrequest-5071114146
Screen::Pen: handle COLOR_RESET color values #5866 https://github.com/DFHack/dfhack/pull/5866
TextAreaContent: remove COLOR_RESET uses with Pen #5874 https://github.com/DFHack/dfhack/pull/5874
gui/tiletypes: remove COLOR_RESET use with Pen DFHack/scripts#1604 https://github.com/DFHack/scripts/pull/1604
https://github.com/ab9rf
ab9rfhttps://github.com/ab9rf
October 11, 2026 14:29https://github.com/DFHack/dfhack/pull/5864#event-32989227781
https://github.co/hiddenchars
https://github.com/DFHack/dfhack/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%2FDFHack%2Fdfhack%2Fpull%2F5864
Please reload this pagehttps://github.com/DFHack/dfhack/pull/5864
Please reload this pagehttps://github.com/DFHack/dfhack/pull/5864
https://github.com/ab9rf
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.