Hello Louis-Philippe, I found this an interesting topic and as far as I see lintian is triggered by a read function call in signalhandler.cpp in SignalHandler::on_socketNotifier_activated.This line raises currently already a warning "ignoring return value of", which seems was tried to get silenced by a Q_UNUSED. For a short test, lintian does not report this tag if the line containing the read is just commented out. I am not sure, but isn't the usage of "-D_FORTIFY_SOURCE=2" expected to get g++ replace the call to "read" by the buffer length checking "__read_chk"? Kind regards, Bernhard
Thanks for looking into this. I sadly have very little C/C++ knowledge.I can indeed see from the command you pasted that the qpdfview binary ends up with "read" instead of "__read_chk" and if you say "-D_FORTIFY_SOURCE=2" should be fixing that, well it seems something isn't working properly, as we're compiling with that flag :(
If you have ideas or things you want me to try, I'll be more than happy to experiment.
Cheers, -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org ⠈⠳⣄
OpenPGP_0xE1E5457C8BAD4113.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature