> > I guess we can do both: Count the ',' and give the number to apr_array_make >
Doesn't that mean that someone can craft a nasty Range (e.g: 0-0,1-1,2-2, 3-3,….99999999-99999999 and cause us to preallocate a bunch of memory when at the end we'll get 0-99999999 ???