You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was found when testing for another similar issue, #11.
If you enter an expression like 0 + or 2 * the app will crash. This is most likely because the program is trying to access a value in the value stack that doesn't exist. This means that it will cause a buffer overflow and crash.
A solution to fix this includes checking if there are enough values and operators in the stack, and otherwise warn the user that this expression is invalid.
The text was updated successfully, but these errors were encountered:
This issue was found when testing for another similar issue, #11.
If you enter an expression like
0 +
or2 *
the app will crash. This is most likely because the program is trying to access a value in the value stack that doesn't exist. This means that it will cause a buffer overflow and crash.A solution to fix this includes checking if there are enough values and operators in the stack, and otherwise warn the user that this expression is invalid.
The text was updated successfully, but these errors were encountered: