forked from espressif/esp-idf
Merge branch 'fix/vfs_console_fstat_infinite_recursion' into 'master'
fix(storage/vfs_console): remove possible infinite recursion Closes IDF-10025 See merge request espressif/esp-idf!31072
This commit is contained in:
@ -73,7 +73,7 @@ ssize_t console_write(int fd, const void *data, size_t size)
|
|||||||
|
|
||||||
int console_fstat(int fd, struct stat * st)
|
int console_fstat(int fd, struct stat * st)
|
||||||
{
|
{
|
||||||
return fstat(fd, st);
|
return fstat(vfs_console.fd_primary, st);
|
||||||
}
|
}
|
||||||
|
|
||||||
int console_close(int fd)
|
int console_close(int fd)
|
||||||
|
Reference in New Issue
Block a user