Skip to content

Conversation

@apocelipes
Copy link
Contributor

Snipaste_2025-03-18_19-27-40

ffReadFileData returns -1 when error happens, so !ffReadFileData(drmDir.chars, sizeof(buf), &buf) || buf != 'e' becomes false || buf != 'e' and the buf was not initlialised.

@CarterLi CarterLi merged commit d33b5d6 into fastfetch-cli:dev Mar 18, 2025
18 checks passed
@CarterLi
Copy link
Member

Good catch. Thanks.

@apocelipes apocelipes deleted the little-fix branch March 18, 2025 12:02
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