[Bug 524559] New: evoldap2-client-2.4.12-5.4: IO after fclose
http://bugzilla.novell.com/show_bug.cgi?id=524559 Summary: evoldap2-client-2.4.12-5.4: IO 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 evoldap2-client-2.4.12-5.4 For source code file openldap-2.4.12/servers/slapd/back-sock/compare.c, around line 80 is the source code for the function sock_back_compare. I notice the following code fclose( fp ); /* read in the result and send it along */ sock_read_and_send_results( op, rs, fp ); fclose( fp ); which seems somewhat odd to me. Maybe the first fclose should be removed, or maybe replaced by a call to fflush. In any event, doing IO on a fclosed value will not work. Suggest code 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.
http://bugzilla.novell.com/show_bug.cgi?id=524559
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=524559
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=524559#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=524559
http://bugzilla.novell.com/show_bug.cgi?id=524559#c
Hendrik Vogelsang
http://bugzilla.novell.com/show_bug.cgi?id=524559
http://bugzilla.novell.com/show_bug.cgi?id=524559#c3
shuang qiu
participants (1)
-
bugzilla_noreply@novell.com