You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "while"-loop near start of ByteBufferPoolImpl.reAllocate() doubling the size until it is large enough may turn into an infinite loop, if the minimumSize parameter is ever more than 1 GB. Probably not the most common situation, but if it ever happened, then going into a tight busy loop surely isn't what anyone would want.
Not sure, how to best solve it, though. Maybe also check for size < 0, or use a long-typed helper variable just within the loop ...
The text was updated successfully, but these errors were encountered:
orbmain/src/main/java/com/sun/corba/ee/impl/transport/ByteBufferPoolImpl.java
The "while"-loop near start of ByteBufferPoolImpl.reAllocate() doubling the size until it is large enough may turn into an infinite loop, if the minimumSize parameter is ever more than 1 GB. Probably not the most common situation, but if it ever happened, then going into a tight busy loop surely isn't what anyone would want.
Not sure, how to best solve it, though. Maybe also check for size < 0, or use a long-typed helper variable just within the loop ...
The text was updated successfully, but these errors were encountered: