More gpgsm+gpgme problems
Albrecht Dreß
albrecht.dress at arcor.de
Sun May 9 13:30:12 CEST 2004
Am 09.05.04 10:15 schrieb(en) Werner Koch:
>From the logs I guess this is a segv in gpgsm. You should create a
> core file and use gdb to look at it. There is a minor problem that
> gpgsm inhibits the creation of core files: Look for
Arrgh - I enabled the coredumps as you said, recompiled with "-g -O -
fsigned-char" (the latter option is needed for PowerPC gcc) , and now it
doesn't crash any more! IMHO, this might be an indication for a stack
corruption or buffer overflow somewhere in the code... Not a very good
situation, isn't it?
I added some more warning options to CFLAGS (then using "-g -O -fsigned-
char -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wunused -
Wuninitialized -pedantic -Wmissing-declarations -Wmissing-prototypes"),
and got besides tons of non-critical stuff (?, pointers w/ different
signedness) the following ones which *might* be fishy:
iso7816.c:106: warning: overflow in implicit constant conversion
app-openpgp.c:1186: warning: overflow in implicit constant conversion
app-nks.c:491: warning: overflow in implicit constant conversion
app-dinsig.c:403: warning: overflow in implicit constant conversion
Any ideas?
Cheers, Albrecht.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress at arcor.de
_________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20040509/3e6a6c1a/attachment.bin
More information about the Gnupg-devel
mailing list