| Previous | Next |
| ERROR_DIRECTORY | ERROR_EA_FILE_CORRUPT |
ERROR_EAS_DIDNT_FIT
The EA output buffer is too small
ERROR_EAS_DIDNT_FIT is a Win32 result associated with querying extended attributes.
What the result means
The requested extended attributes do not fit in the supplied buffer.
What to check
- Use the size returned by the API when available.
- Retry with a bounded allocation and guard against size changes between calls.
- Check whether the caller confused character counts, structure counts, and byte counts.
- Set an upper limit for metadata received from untrusted filesystems or servers.
Recommended handling
This is normally a buffer-sizing condition, not corruption. Allocate the required size safely and repeat the query, while still handling races where attributes change between calls.
References
Looking for a different code? Search another status or error code.