Skip to content

More clang-tidy fixes - #22

Open
seanm wants to merge 2 commits into
InsightSoftwareConsortium:masterfrom
seanm:clang-tidy-fixes
Open

More clang-tidy fixes#22
seanm wants to merge 2 commits into
InsightSoftwareConsortium:masterfrom
seanm:clang-tidy-fixes

Conversation

@seanm

@seanm seanm commented Jan 14, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

seanm added 2 commits January 14, 2026 16:46
Here the multiplications were happening in small types (int, usually 32 bit) then stored in large types (size_t, usually 64 bit).  The multiplication could have overflowed. Now the multiplication is done with large types and thus less likely to overflow.
@seanm

seanm commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator Author

@hjmjohnson these changes are quite conservative, care to review?

@gdevenyi maybe you'd like to review too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant