--- sio.c 2003/01/20 16:16:40 1.21 +++ sio.c 2003/01/20 17:43:21 1.22 @@ -571,6 +571,12 @@ } + /* + * clamp to requested size + */ + if (n > limit) + n = limit; + while (n > 0) { if (label == NULL) { datastart = 0;
CVSTrac 2.0.1