Hello List, I ran into a segmentation fault of tacacs+, but just on amd64 when there was no reverse lookup (no -L or dns flaky). Package version is tacacs+-4.0.4ap1 and this is OpenBSD 5.1. Port maintainer forgot to patch the header-files for inet_ntoa() into tac_plus.c, resulting in the return type to become int, which happens to work in 32bit systems, but not on 64bit.
So, patch-tac_plus_c needs to become: +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include <grp.h> (I'd make a patch for the patch, or create a new patch, if I knew the exact things I have to jam into diff(1), so well, sorry if this is too manual) I tried reaching MAINTAINER but got no response so far, so I am writting to the mailinglist. Portstree was -current from about two weeks ago, but it's the same tacacs+-version as the binaries... Let me know if I need to provide any more information -- Sascha Retzki UNIX-Administration/Hostmaster n@work Internet Informationssysteme GmbH Wandalenweg 5, 20097 Hamburg, http://www.work.de E-Mail: [email protected], Tel: +49 40 238809338 - Fax: +49 40 23880929 HR B 61 668 - Amtsgericht Hamburg, Geschaeftsfuehrer: Jan Diegelmann
