[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Frederic.Ferrere@emi.u-bordeaux.fr: update nis_3.5-2_alpha.deb on debian 2.1]



On Thu 28 Oct 1999, Wichert Akkerman wrote:
> 
> Oh oh.. can someone investigate this?

Not that easily, as nis apparently doesn't conform to policy and doesn't
compile with -g :-(

However, it looks like it's a result of sloppy programming as indicated
by the following warning during the compile:

domainname.c: In function `print_version':
domainname.c:45: warning: format argument is not a pointer (arg 4)
domainname.c:45: warning: format argument is not a pointer (arg 5)
domainname.c: In function `main':
domainname.c:100: warning: passing arg 1 of `bindtextdomain' makes pointer from integer without a cast
domainname.c:101: warning: passing arg 1 of `textdomain' makes pointer from integer without a cast

Note that PACKAGE and VERSION seem to integers:

yp-tools-2.4/config.h:#define PACKAGE 1
yp-tools-2.4/config.h:#define VERSION 1

However they are used as strings:

yp-tools-2.4/src/domainname.c:  fprintf (stdout, "%s (%s) %s\n", progname, PACKAGE, VERSION);
yp-tools-2.4/src/domainname.c:  bindtextdomain (PACKAGE, LOCALEDIR);
yp-tools-2.4/src/domainname.c:  textdomain (PACKAGE);


This concurs with the error:

domainname: memory violation at pc=1555579d518 rp=1200013bc (bad address = 00000001)

Note address == 1.


This does not look like something that can be fixed in a hurry.
I believe that the original slink version was 3.3; now it is
3.5. Is this absolutely necessary? Couldn't the problem be fixed in the
old version?

Paul Slootman
-- 
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/


Reply to: