Skip to Content.
Sympa Menu

ndt-dev - [ndt] r364 committed - [FIXED Issue #19]: Corrected buffer size passed to fgets function.

Subject: NDT-DEV email list created

List archive

[ndt] r364 committed - [FIXED Issue #19]: Corrected buffer size passed to fgets function.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt] r364 committed - [FIXED Issue #19]: Corrected buffer size passed to fgets function.
  • Date: Fri, 11 Jun 2010 09:49:00 +0000

Revision: 364
Author:

Date: Fri Jun 11 02:48:11 2010
Log: [FIXED Issue #19]: Corrected buffer size passed to fgets function.
http://code.google.com/p/ndt/source/detail?r=364

Modified:
/trunk/src/web100-admin.c

=======================================
--- /trunk/src/web100-admin.c Wed Dec 13 15:18:41 2006
+++ /trunk/src/web100-admin.c Fri Jun 11 02:48:11 2010
@@ -438,7 +438,7 @@
int CurrentRTO, CurrentRwinRcvd, CongestionSignals, PktsOut = 0;
FILE *fp;
int c2sspd = 0, s2cspd = 0;
- char ip_addr2[64], buff[256], *str, tmpstr[32];
+ char ip_addr2[64], buff[512], *str, tmpstr[32];
int link=0, mismatch=0, bad_cable=0, half_duplex=0, congestion=0;
int c2sdata = 0, c2sack, s2cdata, s2cack = 0;
int totalcnt=0, view_flag=0;


  • [ndt] r364 committed - [FIXED Issue #19]: Corrected buffer size passed to fgets function., ndt, 06/11/2010

Archive powered by MHonArc 2.6.16.

Top of Page