GnuPG can't handle some V3 secret keys

Bernd Eckenfels lists at lina.inka.de
Sat May 5 23:49:02 CEST 2001


On Fri, May 04, 2001 at 09:23:46PM +0200, Stefan Bellon wrote:
> What's wrong with ...
> 
>         if (foo && foo->bar) do_things;
> 
> ... and similar constructs instead of
> 
>         if (foo->bar) do_things;

this only works if you may allow do_things not to be done. If you dont know
how to go on if the pointer is null all you can do is to panic. And exactly
that you get without an else panic(); if you dont check for null pointers
where you dont expect them.

This is of course not true for interfaces and libs.

Greetings
Bernd




More information about the Gnupg-devel mailing list