We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Our tool found the following suspicious code in: src/org/swiftp/CmdNLST.java
src/org/swiftp/CmdNLST.java
In Line 35: public final static long MS_IN_SIX_MONTHS = 6 * 30 * 24 * 60 * 60 * 1000;
public final static long MS_IN_SIX_MONTHS = 6 * 30 * 24 * 60 * 60 * 1000;
Could this be as follow to avoid integer overflow?:
public final static long MS_IN_SIX_MONTHS = 6 * 30 * 24 * 60 * 60 * 1000L;
This might be a trivial thing but I wanted to report just in case.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Our tool found the following suspicious code in:
src/org/swiftp/CmdNLST.java
In Line 35:
public final static long MS_IN_SIX_MONTHS = 6 * 30 * 24 * 60 * 60 * 1000;
Could this be as follow to avoid integer overflow?:
public final static long MS_IN_SIX_MONTHS = 6 * 30 * 24 * 60 * 60 * 1000L;
This might be a trivial thing but I wanted to report just in case.
Thanks!
The text was updated successfully, but these errors were encountered: