Porting CUPS
Michael Sweet
mike at easysw.com
Wed Mar 29 07:32:24 PST 2006
Paul Smedley wrote:
> Hi All,
> I'm trying to port cups to the OS/2 operating system. It builds
> extremely easily, howe on trying to start cupsd I get a crash... with
> debug enabled, the following shows on stdout:
> ...
> Would I be right in assuming that the fact that httpAddrGetList has
> been called with the address family being unknown is likely to be the
> problem? Or does cups assume AF_INET if it is called with AF_UNSPEC?
No, that isn't the problem...
> The actual call causing the SIGSEGV is:
> first->addr.ipv4.sin_family = AF_INET; on line ~422 in
> ./cups/http-addrlist.c
OK, you've hit some untested code it seems... Can you file a bug
report for this at:
http://www.cups.org/str.php
Basically, "first" is not yet initialized, and in fact we should be
using "temp" instead.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups-devel
mailing list