Skip to content

Fix two faulting cases #7

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

Merged
merged 2 commits into from
Dec 16, 2022
Merged

Conversation

WhatTheFuzz
Copy link
Contributor

Specific test cases can cause the program to both divide by zero and dereference a null pointer. The proposed PR is a minimal viable patch.

Under specific test cases, the application could crash with a
floating point exception.
Specific test cases could cause the `oper` character pointer to
be NULL, leading to NULL pointer dereference.
@colinbourassa colinbourassa merged commit 5471a9f into colinbourassa:master Dec 16, 2022
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