net-libs/libproxy-0.2.3 uses implicitly declared function strdup() which causes:
* QA Notice: Package has poor programming practices which may compile
* fine but exhibit random runtime failures.
* proxy.c:50: warning: implicit declaration of function ‘strdup’
#if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED
/* Duplicate S, returning an identical malloc'd string. */
extern char *strdup (__const char *__s)
__THROW __attribute_malloc__ __nonnull ((1));
As you can see, strdup() returns 'char *', but compiler treats all implicitly declared functions as returning 'int'. It will cause segmentation fault on 64-bit architectures where sizeof(pointer) != sizeof(int).
Created attachment 190279 [details, diff]
good to go.
commited without a bump. Please make sure this reaches upstream as well. Thanks for your report.