Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogGOPSim -V and Drawviz - Integer overflow fix #18

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

TrimVis
Copy link
Contributor

@TrimVis TrimVis commented Dec 5, 2023

When using LogGOPSim and creating a viz file with the -V flag or reading from this file using DrawViz an integer overflow might occur with large start and end times. (Unchecked cast from uint64_t to int).

This PR should address this issue by providing a tested and working fix.

Additionally I made some minor adaptions to the drawviz Makefile to get it building on my system.
(Changed -lboost_regex-mt to -lboost_regex)
I am not sure if this is a system-specific change for me only, if this is the case, I can drop this commit, however for completeness sake I pushed it here as well for the time being.

@tim0s tim0s merged commit 76451de into spcl:master Dec 5, 2023
1 check passed
@TrimVis TrimVis deleted the fix/integer-overflow branch December 7, 2023 10:23
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.

2 participants