http://bugzilla.novell.com/show_bug.cgi?id=529120 Summary: openldap2-2.4.16-3.10: use of local variable after fclose Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package openldap2-2.4.16-3.10 For source code file openldap-2.4.16/servers/slapd/back-sock/compare.c around line 80 is the source code for the function sock_back_compare. I notice the following lines of code fclose( fp ); /* read in the result and send it along */ sock_read_and_send_results( op, rs, fp ); fclose( fp ); So it seems that the fp local variable is used after it is been closed. This looks wrong to me. This code might benefit from some rework. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.