I have been testing bnc-2.9.3-r1 and r2 on amd64. On hardened I got the error 'bnc: stack smashing attack in function send_queued()' whenever I connected, and on the normal amd64 profile I just got a silent segfault of the bnc process. Jim Laflin (one of the amd64 ATs) has also confirmed this bug, and could workaround it by replacing econf with a ./configure call - not sure why that worked. I have patched the source file as it was a pointer issue, and the patched version seems to work well. Not sure how this got keyworded and stabled with this bug though. Attaching my patch in a second.
Created attachment 69017 [details, diff] bnc-pointer.patch This is patched against 2.9.4 as I thought I would try the latest version before patching. It will probably apply against 2.9.3, but is a very simple patch anyway. This has cleared up the compilation warnings, and seems to have solved the segfaulting. It could use more testing though.
Patch works perfectly fine. Jim
i was so free to stick the patch into portage and rekeyword