René's URL Explorer Experiment


Title: Protect against overflow/underflow for integer record types by AlexanderWells-diamond · Pull Request #110 · DiamondLightSource/pythonSoftIOC · GitHub

Open Graph Title: Protect against overflow/underflow for integer record types by AlexanderWells-diamond · Pull Request #110 · DiamondLightSource/pythonSoftIOC

X Title: Protect against overflow/underflow for integer record types by AlexanderWells-diamond · Pull Request #110 · DiamondLightSource/pythonSoftIOC

Description: Long, Bool and MBB record types are now protected from out of range values - .set() will throw an exception, and caput() will fail to store the new value. This means records can no longer be put into invalid values, or suffer from integer overflow/underflow. Also correct an oversight in get_field_offsets, to properly raise a Python exception when the record type cannot be found. Closes #66

Open Graph Description: Long, Bool and MBB record types are now protected from out of range values - .set() will throw an exception, and caput() will fail to store the new value. This means records can no longer be put in...

X Description: Long, Bool and MBB record types are now protected from out of range values - .set() will throw an exception, and caput() will fail to store the new value. This means records can no longer be put in...

Opengraph URL: https://github.com/DiamondLightSource/pythonSoftIOC/pull/110

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:0b525698-7265-21a1-6aa4-5c8260eaa847
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBFE8:1F98:25124E4:314A158:6B044482
html-safe-noncecaf13ebb9f41fdce1a2ac054c7cbd3955e5ccf63987ed9857c9cfbc993a7139d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkU4OjFGOTg6MjUxMjRFNDozMTRBMTU4OjZCMDQ0NDgyIiwidmlzaXRvcl9pZCI6IjQ3NzM3ODM2MDkzMDE4MTIzNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaaaed7db853737cd594a6c777150c9469045562d366210fed37349701991fb65
hovercard-subject-tagpull_request:1084728540
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/DiamondLightSource/pythonSoftIOC/pull/110/files
twitter:imagehttps://avatars.githubusercontent.com/u/79699091?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/79699091?s=400&v=4
og:image:altLong, Bool and MBB record types are now protected from out of range values - .set() will throw an exception, and caput() will fail to store the new value. This means records can no longer be put in...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/DiamondLightSource/pythonSoftIOC git https://github.com/DiamondLightSource/pythonSoftIOC.git
octolytics-dimension-user_id1233618
octolytics-dimension-user_loginDiamondLightSource
octolytics-dimension-repository_id20049394
octolytics-dimension-repository_nwoDiamondLightSource/pythonSoftIOC
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20049394
octolytics-dimension-repository_network_root_nwoDiamondLightSource/pythonSoftIOC
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
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDiamondLightSource%2FpythonSoftIOC%2Fpull%2F110%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%2FDiamondLightSource%2FpythonSoftIOC%2Fpull%2F110%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=DiamondLightSource%2FpythonSoftIOC
Reloadhttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
Reloadhttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
Reloadhttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
DiamondLightSourcehttps://github.com/DiamondLightSource
pythonSoftIOChttps://github.com/DiamondLightSource/pythonSoftIOC
Codehttps://github.com/DiamondLightSource/pythonSoftIOC
Issues13 (13)https://github.com/DiamondLightSource/pythonSoftIOC/issues
Pull requests4 (4)https://github.com/DiamondLightSource/pythonSoftIOC/pulls
Discussionshttps://github.com/DiamondLightSource/pythonSoftIOC/discussions
Actionshttps://github.com/DiamondLightSource/pythonSoftIOC/actions
Projectshttps://github.com/DiamondLightSource/pythonSoftIOC/projects
Wikihttps://github.com/DiamondLightSource/pythonSoftIOC/wiki
Security and qualityhttps://github.com/DiamondLightSource/pythonSoftIOC/security
Insightshttps://github.com/DiamondLightSource/pythonSoftIOC/insights
Sign up for GitHub https://github.com/signup?return_to=%2FDiamondLightSource%2FpythonSoftIOC%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FDiamondLightSource%2FpythonSoftIOC%2Fissues%2Fnew%2Fchoose
AlexanderWells-diamondhttps://github.com/AlexanderWells-diamond
masterhttps://github.com/DiamondLightSource/pythonSoftIOC/tree/master
protect_against_overflow_underflowhttps://github.com/DiamondLightSource/pythonSoftIOC/tree/protect_against_overflow_underflow
Conversation 3 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110
Commits 7 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits
Checks 0 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/checks
Files changed https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
Please reload this pagehttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
Protect against overflow/underflow for integer record types https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#top
Show all changes 7 commits https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
8072ce2 Raise exception when record type not found AlexanderWells-diamond Oct 10, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/8072ce2dbd4269ee15265ff69f736af6e6998907
41ad57f Raise exceptions when value is out of range AlexanderWells-diamond Oct 10, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/41ad57fadd4f026ef8bbda4dbe887ae5ea5fee38
06fe4db Use lambda functions to run the valid value test AlexanderWells-diamond Oct 11, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/06fe4db59f0c6fe2492f1bc6925caea9c381ec10
fabae08 Add value validation to _process AlexanderWells-diamond Oct 11, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/fabae08146f8eaec76866a759b74140eb7d0c2c8
c555837 Add tests that .set() rejects invalid values AlexanderWells-diamond Oct 11, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/c55583781db19683b20960d4dd0a4bd226aa879a
5f63e8d Add tests for caput using invalid values AlexanderWells-diamond Oct 12, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/5f63e8dd1a288204ad5970a300173af3b0d945db
9c19bed Add changelog message AlexanderWells-diamond Oct 12, 2022 https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/commits/9c19bedbb2085393d80a68ba2e9cc2fc3249b241
Clear filters https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
Please reload this pagehttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
Please reload this pagehttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files
CHANGELOG.rst https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
device.py https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
extension.c https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-af7ce6b4c40209ef0d8ab9365ac6121868b7bba82938cf5fe65734cb448e42d1
test_record_values.py https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-1037cc322dbb27a43aaadb8245e59d09a23301687d0f5fbe09cbbb6c79f9024d
test_records.py https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-717567ac5061cad98787134de98a6b29d07bebf7b4b1519fa9bb738b92c7a411
CHANGELOG.rsthttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
View file https://github.com/DiamondLightSource/pythonSoftIOC/blob/9c19bedbb2085393d80a68ba2e9cc2fc3249b241/CHANGELOG.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/{{ revealButtonHref }}
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
softioc/device.pyhttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
View file https://github.com/DiamondLightSource/pythonSoftIOC/blob/9c19bedbb2085393d80a68ba2e9cc2fc3249b241/softioc/device.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/{{ revealButtonHref }}
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-ce1c368968435c37eecde7300328c9f6b780c1d7dad097f34687a15b47b5f4d5
softioc/extension.chttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-af7ce6b4c40209ef0d8ab9365ac6121868b7bba82938cf5fe65734cb448e42d1
View file https://github.com/DiamondLightSource/pythonSoftIOC/blob/9c19bedbb2085393d80a68ba2e9cc2fc3249b241/softioc/extension.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/{{ revealButtonHref }}
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-af7ce6b4c40209ef0d8ab9365ac6121868b7bba82938cf5fe65734cb448e42d1
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-af7ce6b4c40209ef0d8ab9365ac6121868b7bba82938cf5fe65734cb448e42d1
tests/test_record_values.pyhttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-1037cc322dbb27a43aaadb8245e59d09a23301687d0f5fbe09cbbb6c79f9024d
View file https://github.com/DiamondLightSource/pythonSoftIOC/blob/9c19bedbb2085393d80a68ba2e9cc2fc3249b241/tests/test_record_values.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/{{ revealButtonHref }}
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-1037cc322dbb27a43aaadb8245e59d09a23301687d0f5fbe09cbbb6c79f9024d
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-1037cc322dbb27a43aaadb8245e59d09a23301687d0f5fbe09cbbb6c79f9024d
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-1037cc322dbb27a43aaadb8245e59d09a23301687d0f5fbe09cbbb6c79f9024d
tests/test_records.pyhttps://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-717567ac5061cad98787134de98a6b29d07bebf7b4b1519fa9bb738b92c7a411
View file https://github.com/DiamondLightSource/pythonSoftIOC/blob/9c19bedbb2085393d80a68ba2e9cc2fc3249b241/tests/test_records.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/{{ revealButtonHref }}
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-717567ac5061cad98787134de98a6b29d07bebf7b4b1519fa9bb738b92c7a411
https://github.com/DiamondLightSource/pythonSoftIOC/pull/110/files#diff-717567ac5061cad98787134de98a6b29d07bebf7b4b1519fa9bb738b92c7a411
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.