Igor Schein on Fri, 27 Jun 2003 02:25:51 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

system() limitation


Hi,

? system("echo "vector(43201,x,1)"|wc -c")
 129604
? system("echo "vector(43202,x,1)"|wc -c")
 129607
? system("echo "vector(43203,x,1)"|wc -c")
 129610
? system("echo "vector(43204,x,1)"|wc -c")
 129613
? system("echo "vector(43205,x,1)"|wc -c")
? system("echo "vector(43206,x,1)"|wc -c")
?

Looks like a silent buffer overflow to me.  Maybe the maximum buffer
size allowed should be documented?

Thanks

Igor