[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

DrewM drew.middlesworth at gmail.com
Mon Apr 21 22:13:40 BST 2008


So after a quick run through the code we find that that the changing of
the variable sb->sb_valid (which is what the assert is checking) only
happens in one place in sockbuf.c in ber_int_sb_init() and never gets
changed again. Therefore we are probably looking at some sort of memory
or pointer corruption that ends up twiddling that bit. :(

drewm at frustration:~/openldap2.3-2.4.7$ grep -r sb_valid * 
libraries/liblber/lber-int.h:#define    sb_valid                sb_opts.lbo_valid
libraries/liblber/lber-int.h:#define SOCKBUF_VALID( sb )        ( (sb)->sb_valid == LBER_VALID_SOCKBUF )
libraries/liblber/sockbuf.c:    sb->sb_valid=LBER_VALID_SOCKBUF;

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list