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

Fix CStorage::ReadFile #3235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Bamcane
Copy link

@Bamcane Bamcane commented Feb 28, 2024

About this bug

This bug is now no any crash problem for teeworlds, because this function is unused (This function added in commit 81376fd)

We usually return true when we load a file successfully,
But in the past, CStorage::ReadFile return false, also, it return true when load failed

Why this bug is only being discovered now

because this function is unused

Copy link
Contributor

@Robyt3 Robyt3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also included in #3141.

@Bamcane
Copy link
Author

Bamcane commented Mar 1, 2024

I stayed this PR here until #3141 be merged

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.

None yet

2 participants