[Bug 430846] New: audit-1.6.8-18: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=430846 Summary: audit-1.6.8-18: ordered comparison of pointer with integer zero Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 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 tried to compile Suse Linux package audit-1.6.8-18 and the compiler said auparse.c:403: warning: ordered comparison of pointer with integer zero The source code is if (op < 0) goto err_out; but const char *op; Suggest replace broken code with if (op == 0) goto err_out; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430846
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=430846
User tonyj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430846#c1
Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=430846
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430846#c2
David Binderman
This is fixed in OpenSUSE 11.1.
Doubtful. That broken source code was recently in the factory.
Audit has been at version 1.7.4 (soon to be 1.7.7) since 11.1-alpha0.
I suggest you check the source code in the factory. The usual configuration of the usual C compiler might not produce the warning I mentioned. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430846
User tonyj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430846#c3
Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=430846
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430846#c4
David Binderman
maybe you can reply with the URL you are using
Excellent idea. AFAIK, the UK mirror for opensuse. http://www.mirrorservice.org/sites/ftp.opensuse.org/pub/opensuse/distributio... It is possibly the case that I'm looking at the wrong mirror / out of date mirror. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430846
User tonyj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430846#c5
Tony Jones
It is possibly the case that I'm looking at the wrong mirror / out of date mirror.
Anything of this format is very stale. See http://download.opensuse.org/distribution/README.Factory That said, for some reason sources are not being copied into the new location on the primary, I'm told it's being looked at. Regardless, 1.7.4 has been the codebase since 11.1-alpha0 and what is in factory at present (see 1st line in comment #3) is *obviously* not 1.6.8. If you find that the offending code is still present in 1.7.7, feel free to reopen. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com