Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Fix Integer overflow in AccessGrant #48

Merged
merged 1 commit into from Apr 4, 2012
Merged

Fix Integer overflow in AccessGrant #48

merged 1 commit into from Apr 4, 2012

Conversation

drei01
Copy link

@drei01 drei01 commented Apr 3, 2012

The OAuth2 access grant produces the wrong expiry time when a large integer is passed in. This is because System.currentTimeMillis() (a Long) is added to expiryTime * 1000 (an Integer).

This change, uses expiryTime * 1000l (a Long)

habuma added a commit that referenced this pull request Apr 4, 2012
Fix Integer overflow in AccessGrant
@habuma habuma merged commit dd1a59a into spring-attic:master Apr 4, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants