/[Apache-SVN]
ViewVC logotype

Revision 1892185


Jump to revision: Previous Next
Author: jailletc36
Date: Tue Aug 10 18:49:20 2021 UTC (2 years, 8 months ago)
Changed paths: 1
Log Message:
Follow up to 1892038, 1892063.

Improve fix to please a fuzzer which reports:
   util.c:2713:26: runtime error: signed integer overflow:
   9999999999999999 * 1000 cannot be represented in type 'long'

Compute the maximum limit for each case 's', 'h', 'ms' and 'mi' and make sure that the input is below this value.

While at it, move a comment to make things more consistent and use 'apr_time_from_msec() instead of hand writing it.

Changed paths

Path Details
Directoryhttpd/httpd/trunk/server/util.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26