When requesting metadata on a dangling symlink, the framestack ends up calling
k_queryAttributes() with the symlink path, where the listxattr syscall
returns size==-1 and errno==ENOENT (No such file or directory).
This case was not covered before, and provoked a segfault on QByteArray.
Full traceback on: https://bugs.kde.org/show_bug.cgi?id=414227
It might be also a good idea to always protect the function when size==-1
BUG: 414227