René's URL Explorer Experiment


Title: Initialise two members that are read before they are written by attixray · Pull Request #486 · stepcode/stepcode · GitHub

Open Graph Title: Initialise two members that are read before they are written by attixray · Pull Request #486 · stepcode/stepcode

X Title: Initialise two members that are read before they are written by attixray · Pull Request #486 · stepcode/stepcode

Description: Two independent uninitialised reads, both long-standing. STEPnode::_null has no default. STEPnode has no constructor, so a node built by a subclass that does not assign it starts out with whatever was on the heap, and is_null() then answers at random. This adds a STEPnode constructor that starts nodes null, and makes EntityNode::StrToVal() / ::STEPread() set it per outcome — they resolve an entity reference and should report null exactly when the reference did not resolve. TypeDescriptor::_altname is a char _altname[BUFSIZ+1] that both constructors leave untouched, while AltName() and the Name() fallback read it as a C string. Terminating it on construction makes the "no alternate name" case deterministic. Two commits, one per member.

Open Graph Description: Two independent uninitialised reads, both long-standing. STEPnode::_null has no default. STEPnode has no constructor, so a node built by a subclass that does not assign it starts out with whatever ...

X Description: Two independent uninitialised reads, both long-standing. STEPnode::_null has no default. STEPnode has no constructor, so a node built by a subclass that does not assign it starts out with whatever ...

Opengraph URL: https://github.com/stepcode/stepcode/pull/486

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b1344509-31b6-39cc-d5e7-a30a57f7fc59
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6C6:5EC22:45020D:6160E2:6B0470F5
html-safe-nonce8efa60e1ce068f68e3224ec1fdce57fe7adb7da921fa9f9bd55e0e6d8daed554
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkM2OjVFQzIyOjQ1MDIwRDo2MTYwRTI6NkIwNDcwRjUiLCJ2aXNpdG9yX2lkIjoiMTg3OTQyODQxODY2MDIzMzQ2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac351142ee6b72a8b120db4bd5d5d4f2d9ce5f261d261ca71bb51d3923ccf55aa8
hovercard-subject-tagpull_request:4334051596
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/stepcode/stepcode/pull/486/files
twitter:imagehttps://avatars.githubusercontent.com/u/9821141?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9821141?s=400&v=4
og:image:altTwo independent uninitialised reads, both long-standing. STEPnode::_null has no default. STEPnode has no constructor, so a node built by a subclass that does not assign it starts out with whatever ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/stepcode/stepcode git https://github.com/stepcode/stepcode.git
octolytics-dimension-user_id1761770
octolytics-dimension-user_loginstepcode
octolytics-dimension-repository_id1975387
octolytics-dimension-repository_nwostepcode/stepcode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1975387
octolytics-dimension-repository_network_root_nwostepcode/stepcode
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecfb5f24c6e01d85f70804652a5107e5cac03a161
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stepcode/stepcode/pull/486/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstepcode%2Fstepcode%2Fpull%2F486%2Ffiles
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%2Fstepcode%2Fstepcode%2Fpull%2F486%2Ffiles
Sign uphttps://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=stepcode%2Fstepcode
Reloadhttps://github.com/stepcode/stepcode/pull/486/files
Reloadhttps://github.com/stepcode/stepcode/pull/486/files
Reloadhttps://github.com/stepcode/stepcode/pull/486/files
stepcodehttps://github.com/stepcode
stepcodehttps://github.com/stepcode/stepcode
Codehttps://github.com/stepcode/stepcode
Issues60 (60)https://github.com/stepcode/stepcode/issues
Pull requestshttps://github.com/stepcode/stepcode/pulls
Actionshttps://github.com/stepcode/stepcode/actions
Projectshttps://github.com/stepcode/stepcode/projects
Wikihttps://github.com/stepcode/stepcode/wiki
Security and qualityhttps://github.com/stepcode/stepcode/security
Insightshttps://github.com/stepcode/stepcode/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fstepcode%2Fstepcode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fstepcode%2Fstepcode%2Fissues%2Fnew%2Fchoose
starseekerhttps://github.com/starseeker
stepcode:develophttps://github.com/stepcode/stepcode/tree/develop
attixray:sc-fix-uninitialized-member-readshttps://github.com/attixray/stepcode/tree/sc-fix-uninitialized-member-reads
Conversation 0 https://github.com/stepcode/stepcode/pull/486
Commits 2 https://github.com/stepcode/stepcode/pull/486/commits
Checks 6 https://github.com/stepcode/stepcode/pull/486/checks
Files changed https://github.com/stepcode/stepcode/pull/486/files
Please reload this pagehttps://github.com/stepcode/stepcode/pull/486/files
Initialise two members that are read before they are written https://github.com/stepcode/stepcode/pull/486/files#top
Show all changes 2 commits https://github.com/stepcode/stepcode/pull/486/files
2e0b644 Initialise _null in aggregate nodes Aug 19, 2026 https://github.com/stepcode/stepcode/pull/486/commits/2e0b644c9911195e01911078725697d7e3375cd1
40bef08 Terminate TypeDescriptor::_altname on construction Aug 18, 2026 https://github.com/stepcode/stepcode/pull/486/commits/40bef08602a87267c963852a77e79e91c5d594f7
Clear filters https://github.com/stepcode/stepcode/pull/486/files
Please reload this pagehttps://github.com/stepcode/stepcode/pull/486/files
Please reload this pagehttps://github.com/stepcode/stepcode/pull/486/files
STEPaggregate.h https://github.com/stepcode/stepcode/pull/486/files#diff-cbcb2fa81647b9ba6591714b4d8fe08e9036560d52bfcd00ba3439b126b2e84f
STEPaggrEntity.cc https://github.com/stepcode/stepcode/pull/486/files#diff-849c4a2ef030e38f1003ff081499aac02ca14de9ca51b4a347d44e76b7495be1
typeDescriptor.cc https://github.com/stepcode/stepcode/pull/486/files#diff-b7877df2c4d48b37857c24e2f7917ec867bcc7a6562ea926fe4ec18fbf6fd115
include/clstepcore/STEPaggregate.hhttps://github.com/stepcode/stepcode/pull/486/files#diff-cbcb2fa81647b9ba6591714b4d8fe08e9036560d52bfcd00ba3439b126b2e84f
View file https://github.com/attixray/stepcode/blob/40bef08602a87267c963852a77e79e91c5d594f7/include/clstepcore/STEPaggregate.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stepcode/stepcode/pull/486/{{ revealButtonHref }}
https://github.com/stepcode/stepcode/pull/486/files#diff-cbcb2fa81647b9ba6591714b4d8fe08e9036560d52bfcd00ba3439b126b2e84f
https://github.com/stepcode/stepcode/pull/486/files#diff-cbcb2fa81647b9ba6591714b4d8fe08e9036560d52bfcd00ba3439b126b2e84f
src/clstepcore/STEPaggrEntity.cchttps://github.com/stepcode/stepcode/pull/486/files#diff-849c4a2ef030e38f1003ff081499aac02ca14de9ca51b4a347d44e76b7495be1
View file https://github.com/attixray/stepcode/blob/40bef08602a87267c963852a77e79e91c5d594f7/src/clstepcore/STEPaggrEntity.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stepcode/stepcode/pull/486/{{ revealButtonHref }}
https://github.com/stepcode/stepcode/pull/486/files#diff-849c4a2ef030e38f1003ff081499aac02ca14de9ca51b4a347d44e76b7495be1
https://github.com/stepcode/stepcode/pull/486/files#diff-849c4a2ef030e38f1003ff081499aac02ca14de9ca51b4a347d44e76b7495be1
https://github.com/stepcode/stepcode/pull/486/files#diff-849c4a2ef030e38f1003ff081499aac02ca14de9ca51b4a347d44e76b7495be1
src/clstepcore/typeDescriptor.cchttps://github.com/stepcode/stepcode/pull/486/files#diff-b7877df2c4d48b37857c24e2f7917ec867bcc7a6562ea926fe4ec18fbf6fd115
View file https://github.com/attixray/stepcode/blob/40bef08602a87267c963852a77e79e91c5d594f7/src/clstepcore/typeDescriptor.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stepcode/stepcode/pull/486/{{ revealButtonHref }}
https://github.com/stepcode/stepcode/pull/486/files#diff-b7877df2c4d48b37857c24e2f7917ec867bcc7a6562ea926fe4ec18fbf6fd115
https://github.com/stepcode/stepcode/pull/486/files#diff-b7877df2c4d48b37857c24e2f7917ec867bcc7a6562ea926fe4ec18fbf6fd115
https://github.com/stepcode/stepcode/pull/486/files#diff-b7877df2c4d48b37857c24e2f7917ec867bcc7a6562ea926fe4ec18fbf6fd115
Please reload this pagehttps://github.com/stepcode/stepcode/pull/486/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.