<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot sign existing PDF"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130354#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot sign existing PDF"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130354">bug 130354</a>
from <span class="vcard"><a class="email" href="mailto:ioannis.herbert.papadopoulos@gmail.com" title="Ioannis <ioannis.herbert.papadopoulos@gmail.com>"> <span class="fn">Ioannis</span></a>
</span></b>
<pre>Danilo, thank you for getting me to this direction.
I downloaded the libreoffice source code and think I found the file where the
buggy code is:
libreoffice/sal/osl/unx/tempfile.cxx
Checking the "sign document" behaviour,
I saw that after the first error pops up,
if I touch the reported file in /tmp instead of the path suggested,
no more error popups come out!
It seems that the temporary file in question should be created as
/tmp/lu<PID number><some letters>.tmp
instead of being searched in the PDF location path.
So, I guess that the problem is the way the prepended path is handled in the
suspicious file (libreoffice/sal/osl/unx/tempfile.cxx).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>