Re: [PR] Avoid infinite loop in DeltaManager with invalid ba tch size [tomcat]

lihongyi87 (via GitHub) <[email protected]>
Newsgroups gmane.comp.jakarta.tomcat.devel
Message-ID <PR_kwDOACYN0M7-7-6g-c05c70ac-85a4-4d74-9219-5c1ee8f1102a@gitbox.apache.org>
lihongyi87 commented on code in PR #1042:
URL: https://github.com/apache/tomcat/pull/1042#discussion_r3800264566


##########
webapps/docs/changelog.xml:
##########
@@ -331,6 +319,13 @@
   </subsection>
   <subsection name="Cluster">
     <changelog>
+      <fix>
+        Validate that the <code>DeltaManager</code> attribute
+        <code>sendAllSessionsSize</code> is a positive integer. Zero or
+        negative values previously caused an infinite loop or a
+        <code>NegativeArraySizeException</code> during session state transfer.
+        (lihongyi87)
+      </fix>

Review Comment:
   Moved below the line. Thanks for the pointer.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.