guohao15 opened a new pull request, #17514:
URL: https://github.com/apache/nuttx/pull/17514
## Summary
bugfix:When the stat() returns ret < 0 and the error is not ENOENT, mkstemp
will hang here and keep retrying.
for example:
When:
path_template:/data/quickapp/cache/ncm_XXXXXX
xlen is equal to BIG_XS
retries will be set to UINT32_MAX
then:
The stat operation fails due to issues with drivers, memory problems,
or file system operations and continuously returns an error other than
ENOENT,
it will keep retrying, which may cause the watchdog timer to time out.
## Impact
## Testing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]