Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2013-05-03 16:07:04 +0000 (Fri, 03 May 2013)
SCO client: Fix overflow in memory calculation when >2 GB memory
--- branches/4.3.12/xymond/client/sco_sv.c 2013-04-23 08:40:25 UTC (rev 7196)
+++ branches/4.3.12/xymond/client/sco_sv.c 2013-05-03 16:07:04 UTC (rev 7197)
@@ -76,7 +76,7 @@
memphystotal = memphysfree = 0;
- memphystotal = (atoi(memsizestr) / 1048576);
+ memphystotal = (atol(memsizestr) / 1048576);
if(sscanf(freememstr, "%*s %ld %ld %*d %*d", &memphysfree, &memswapfree) == 2)
memphysfree /= 256; /* comes in 4kb pages */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: