Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

m_info: access bools as the correct type #307

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

Conversation

edk0
Copy link
Contributor

@edk0 edk0 commented Jan 5, 2020

No description provided.

@aaronmdjones aaronmdjones self-assigned this Apr 19, 2020
@aaronmdjones
Copy link
Contributor

This will not work; most of the booleans in the codebase referred to by m_info are actually ints, for example all of the stuff in ConfigFileEntry.

@edk0
Copy link
Contributor Author

edk0 commented Apr 19, 2020

We should make everything ints then. As it is, in increasing order of practical severity, it has undefined behaviour, could theoretically report wrong answers, and sets off asan.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants