You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "dcais (via GitHub)" <gi...@apache.org> on 2025/08/01 02:31:48 UTC

[PR] KAFKA-19569: Potential Long.MAX_VALUE overflow in sessionExpirationTimeNanos calculation in SaslServerAuthenticator [kafka]

dcais opened a new pull request, #20287:
URL: https://github.com/apache/kafka/pull/20287

   The calculation sessionExpirationTimeNanos = authenticationEndNanos + 1000 * 1000 * retvalSessionLifetimeMs can potentially overflow when:
   retvalSessionLifetimeMs is very large
   authenticationEndNanos is already a large value
   The multiplication 1000 * 1000 * retvalSessionLifetimeMs exceeds Long.MAX_VALUE - authenticationEndNanos
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19569: Potential Long.MAX_VALUE overflow in sessionExpirationTimeNanos calculation in SaslServerAuthenticator [kafka]

Posted by "dcais (via GitHub)" <gi...@apache.org>.
dcais closed pull request #20287:  KAFKA-19569: Potential Long.MAX_VALUE overflow in sessionExpirationTimeNanos calculation in SaslServerAuthenticator
URL: https://github.com/apache/kafka/pull/20287


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org