Skip to content
New issue

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

EAI support for notqmail #197

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix CodeQL cpp/integer-multiplication-cast-to-long.
"Multiplication result may overflow 'int' before it is converted to 'long'."

Make n a datetime_sec (synonym for long) to begin with.
  • Loading branch information
schmonz authored and mbhangui committed Jan 25, 2021
commit 4e1ba819163b0d009162d64c5a920c877212e692
2 changes: 1 addition & 1 deletion qmail-send.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ datetime_sec nextretry(birth,c)
datetime_sec birth;
int c;
{
int n;
datetime_sec n;

if (birth > recent) n = 0;
else n = squareroot(recent - birth); /* no need to add fuzz to recent */
Expand Down