[Bug 232489] New: pdns-2.9.20-22: integer operation result is out of range
https://bugzilla.novell.com/show_bug.cgi?id=232489 Summary: pdns-2.9.20-22: integer operation result is out of range Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package pdns-2.9.20-22 with the Intel C compiler. The compiler said communicator.hh(97): warning #61: integer operation result is out of range The source code is time_t early=(1<<31)-1; // y2038 problem lurking here :-) I agree with the compiler. Suggest new code time_t early = (1UL << (sizeof( time_t) * 8 - 1)) - 1; -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232489 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |anosek@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232489 anosek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from anosek@novell.com 2007-01-09 06:20 MST ------- Thank you. I fixed this in Factory and sent notification to upstream. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232489 ------- Comment #2 from mrueckert@novell.com 2007-05-07 09:25 MST ------- your suggested solution breaks for me on 64bit. It seems pdns is spinning in some endless loop. for now i disabled the patch again. as a side note: time_t early = (time_t)-1; This simple code should do the trick aswell. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com