You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2018/02/14 18:33:00 UTC
[jira] [Assigned] (BEAM-2805) Potential arithmetic overflow in
Generator#nextAuctionLengthMs()
[ https://issues.apache.org/jira/browse/BEAM-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles reassigned BEAM-2805:
-------------------------------------
Assignee: (was: Reuven Lax)
> Potential arithmetic overflow in Generator#nextAuctionLengthMs()
> ----------------------------------------------------------------
>
> Key: BEAM-2805
> URL: https://issues.apache.org/jira/browse/BEAM-2805
> Project: Beam
> Issue Type: Bug
> Components: examples-nexmark
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> long numEventsForAuctions =
> (config.configuration.numInFlightAuctions * GeneratorConfig.PROPORTION_DENOMINATOR)
> / GeneratorConfig.AUCTION_PROPORTION;
> {code}
> The multiplication is done on 32-bit integers while long is expected (numEventsForAuctions).
> There is possibility for arithmetic overflow
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)