Bug 62578 - ab: out of bounds array usage in CSV output for 95-99 percentiles
Summary: ab: out of bounds array usage in CSV output for 95-99 percentiles
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2018-07-27 17:11 UTC by Antonio Terceiro
Modified: 2018-07-27 17:12 UTC (History)
0 users



Attachments
patch (2.26 KB, patch)
2018-07-27 17:12 UTC, Antonio Terceiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Terceiro 2018-07-27 17:11:24 UTC
When exporting the percentiles as CSV, ab provides incorrect results for the 95-99 percentiles:

$ make -C support/ ab > /dev/null
$ ./support/ab -n 10 -e /tmp/foo.csv http://localhost:8000/ > /dev/null
$ tail /tmp/foo.csv
91,25.107
92,25.107
93,25.107
94,25.107
95,140646252151.041
96,140646252151.041
97,140646252151.041
98,140646252151.041
99,140646252151.041
100,25.107
Comment 1 Antonio Terceiro 2018-07-27 17:12:38 UTC
Created attachment 36053 [details]
patch