[ 
https://issues.apache.org/jira/browse/THRIFT-3795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Håkon Hitland updated THRIFT-3795:
----------------------------------
    Attachment: overflow.patch

> Generated hashValue method in Swift will overflow
> -------------------------------------------------
>
>                 Key: THRIFT-3795
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3795
>             Project: Thrift
>          Issue Type: Bug
>          Components: Swift - Compiler
>    Affects Versions: 0.9.3
>            Reporter: Håkon Hitland
>            Priority: Minor
>         Attachments: overflow.patch
>
>
> The generated hashValue code for Swift uses the + and * arithmetic operators, 
> for which an overflow is a fatal error.
> The intention is probably to wrap around, so the overflow operators should be 
> used instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to