[Pdns-dev] Re: [patch] Zone2ldap fix + feature

Norbert Sendetzky norbert at linuxnetworks.de
Wed Dec 31 14:13:38 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 30 December 2003 23:14, Christof Meerwald wrote:
> On Tue, 30 Dec 2003 22:19:56 +0100, Norbert Sendetzky wrote:
> > On Tuesday 30 December 2003 19:38, you wrote:
> >> -       while( --j != subparts.begin() )
> >> +       while( j-- && j != subparts.begin() )
> >
> > No, but it is this statement that causes the segfault if compiled
> > with gcc 2.95.
>
> Just a wild guess: maybe subparts is empty (in this case you are
> not allowed to decrement the iterator)

Maybe, but then both statements should segfault, shouldn't they?
I can't see a real difference between the two statements.


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj/yy4IACgkQxMLs5v5/7eCinACfS3andsATAlv1dC1GymO7+MUc
vkUAn2oQjb/IO5UHUyRaW/WH7dMm3ITO
=flnJ
-----END PGP SIGNATURE-----



More information about the Pdns-dev mailing list