[Libreoffice-bugs] [Bug 137485] New: Double load with symlinks - missing 'realpath'
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 14 18:14:04 UTC 2020
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: libreoffice-bugs at lists.freedesktop.org
Reporter: michael.meeks at collabora.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201014/372f29ef/attachment.htm>
More information about the Libreoffice-bugs
mailing list