https://bugs.documentfoundation.org/show_bug.cgi?id=137485
Bug ID: 137485
Summary: Double load with symlinks - missing 'realpath'
Product: LibreOffice
Version: 6.4.7.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: framework
Assignee: [email protected]
Reporter: [email protected]
I run:
soffice ~/foo.odp
my home is symlinked thus:
/home/michael -> ../crypt-home/michael
If then run:
strace -f -e file -o /tmp/slog loffice ~/foo.odp /crypt-home/michael/foo.odp
It can be seen that I load the same file twice - which is a horror - and leads
to data-loss =)
Did someone try to optimize the 'realpath()' code or something ? interestingly
the second load seems to walk back the elements of the path following symlinks
as I would expect to try to detect duplicates.
I believe this is a regression; also data-loss ... on Linux.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs