Re: [curl-loader-devel] curl-loader - possible bugs
Status: Alpha
Brought to you by:
coroberti
|
From: Robert I. <cor...@gm...> - 2007-04-16 04:21:43
|
Hi Alex,
On 4/15/07, Alexandre Bezroutchko <ab...@sc...> wrote:
> static void* batch_function (void * batch_data)
> {
> ...
> sprintf (bctx->batch_statistics, "./%s.txt", bctx->batch_name);
> ...
> }
>
> Here you add 6 extra characters to the batch name and store it in 36
> bytes buffer, so if somebody will actually use 31 characters batch name,
> the buffer will be overflown with 37 bytes.
Thank you a lot. The bugfix is in SVN.
We have added you to our THANKS file.
>I have customized it to output its statistics in a machine parseable
> form (see the attached patch in case you find this feature useful).
Thank you for your suggestion and the patch against recent svn.
There is some regular statistics output to file named:
<batch_name>.txt. Could you, please, explain a bit, what is
incorrect or inconvenient with the output?
--
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...................................................................
Navigare necesse est, vivere non est necesse
...................................................................
http://curl-loader.sourceforge.net
An open-source HTTP/S, FTP/S traffic
generating, and web testing tool.
|