Bug#483367: squid traffic counter 32-bit overflow

2008-06-04 Thread Hirling Endre
Luigi Gangitano wrote: Hi Hirling, I've forwarded this bug to the upstream bugzilla, where it can be handled correctly. Hello, I have the attached short patch working well (no counter wraps after 6T of traffic) since May 28., hope it helps. endre diff -ru squid-2.6.20/src/stat.c

Bug#483367: squid traffic counter 32-bit overflow

2008-05-31 Thread Luigi Gangitano
forwarded 483367 http://www.squid-cache.org/bugs/show_bug.cgi?id=2369 thanks Hi Hirling, I've forwarded this bug to the upstream bugzilla, where it can be handled correctly. Regards, L -- Luigi Gangitano -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A

Bug#483367: squid traffic counter 32-bit overflow

2008-05-28 Thread Hirling Endre
Package: squid Version: 2.6.20-1 Severity: normal Squid's kbyte counters are defined as 64-bit if possible but printed as 32-bit integers with (int) casts and printf(%d). Using no type cast and PRINTF_OFF_T instead of %d seems better to me, otherwise counters will overflow and turn negative