Skip to content

Invalid read return value fix#7817

Merged
earlephilhower merged 2 commits intoesp8266:masterfrom
earlephilhower:fs2
Jan 9, 2021
Merged

Invalid read return value fix#7817
earlephilhower merged 2 commits intoesp8266:masterfrom
earlephilhower:fs2

Conversation

@earlephilhower
Copy link
Collaborator

Fixes #7814.

Return 0, not MAXINT, when a read is called on a File without a backing
instance of a SPIFFS/LittleFS/SD File.

Fixes esp8266#7814.

Return 0, not MAXINT, when a read is called on a File without a backing
instance of a SPIFFS/LittleFS/SD File.
@earlephilhower earlephilhower merged commit 34545a1 into esp8266:master Jan 9, 2021
@earlephilhower earlephilhower deleted the fs2 branch January 9, 2021 04:08
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.

FS::read returning negative number on type size_t

1 participant