GnuPG 1.2.4 bugs (see also BTS problem report 274)

Rainer Perske rainer.perske at uni-muenster.de
Mon May 3 15:14:12 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----

Hello,

first, many thanks to all GnuPG developers for their great work!

Using AIX 5.1, I cannot compile GnuPG 1.2.4.

Looking into the Bug Tracking System, I've found the very same problem
reported as number 274; see further description there. Because the BTS
does not offer me to append my remarks there, I'm using this mail address.

Looking into the source of util/secmem.c line 171/172 ff, I see:

    [...]
    if ( err ) {
        if( errno != EPERM
    [...]

(The same sequence occures in line 107/108)

Surely the second cited line should read:  if( err != EPERM
because errno may have been changed (and is changed on AIX) during
the geteuid() call in line 164. Some further lines (lines 109 ff, 173 ff)
surely have to be changed accordingly.

Another problem is caused by the "#ifdef _AIX" used in the same source
file (and in some others). Though I am compiling on an AIX system without
GCC, this macro is undefined, surely causing the compiler to create
unwanted code. I can circumvent this problem by calling
  export CC='cc -D_AIX'
prior to running ./configure. (I know, GnuPG requires GCC, thus please
read this paragraph is only as a remark, not a bug report.)

Best wishes
- -- 
Rainer Perske, Zentrum für Informationsverarbeitung, Universität Münster
Lesetipp: <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (AIX)

iQDVAwUBQJZFps9UbnbjB8C5AQEq0QX/XjhEGRa96a464Q9bEeagebDslGsYPMsw
2pMFUCQH/ciV03bmeWy8qIZfAWdA3edWVTrhmJxn8wcYQx88VFN1muA7H+tT3/md
m8ogCRlsIGrIU9M7NInk9SWfF2k6kJAy9ds6dziS8vbqmiOpC/7utyoKzdaW/M0a
V1c/vsMnPpqZ2+ZItGee5es+GGeNC8bHEs85T058kFsi4PQncpDAbICLEiLoistF
ZmKSWby+bZJrPGbsh3SwJfDvUJHPG+PI
=Dls6
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list