-
Notifications
You must be signed in to change notification settings - Fork 132
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
Minotaur/Scroll fx guis #672
Minotaur/Scroll fx guis #672
Conversation
* minotaur icon update
* identify/remove curse/repair don't prevent use if no compatible items found
* fix splitscreen variable change type
* dynamic icon for spell gui effects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should fix the OOB write but other than that looks good
src/mod_tools.cpp
Outdated
char buf[buffer_size]; | ||
const int count = fp->read(buf, sizeof(buf[0]), sizeof(buf) - 1); | ||
static char buf[buffer_size]; | ||
const int count = fp->read(buf, sizeof(buf[0]), sizeof(buf)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if count == sizeof(buf) then buf[count] is an OOB write
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
No description provided.