Bug#708533: libreoffice: connects to the print server (CUPS) when opening some document
Control: found -1 4:25.8.3-1
On 2022-01-20 04:15:12 +0100, Vincent Lefevre wrote:
> Control: forwarded -1 https://bugs.documentfoundation.org/show_bug.cgi?id=146869
>
> I've just reported the bug upstream.
More detailed steps to reproduce, similar to those I've given
upstream at
https://bugs.documentfoundation.org/show_bug.cgi?id=146869#c3
1. Execute "mv ~/.cups ~/cups.bak" (in case there is an existing
user CUPS configuration).
2. Create a /etc/cups/client.conf or ~/.cups/client.conf file with the
line "ServerName 192.168.0.2:443" (or another address, which should
not belong to the local network).
3. Check that "lpq" hangs.
4. Run "libreoffice printername-crash.odt", where printername-crash.odt
is the testcase I had attached at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708533#10
Result: LibreOffice hangs.
With "strace -f", I can see:
197212 connect(19, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("192.168.0.2")}, 16 <unfinished ...>
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Reply to: