There should be reallocation +1 (for last '\0') and also
checking >0, not !=0, because of getxattr can return -1 in case of error
@fix
Details
Details
- Reviewers
cedric raster NikaWhite jpeg - Commits
- rEFL8d6c90351c9d: Eina_Xattr: fix memory corruption
Diff Detail
Diff Detail
- Repository
- rEFL core/efl
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.