You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2022/01/28 22:48:00 UTC
[mina] branch 2.2.X updated: Fixed an infinite loop: we were calling buf.toString in buf.toString
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch 2.2.X
in repository https://gitbox.apache.org/repos/asf/mina.git
The following commit(s) were added to refs/heads/2.2.X by this push:
new d7932fb Fixed an infinite loop: we were calling buf.toString in buf.toString
d7932fb is described below
commit d7932fbb0f35f583e9c23438e7913214bd2fb16d
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Fri Jan 28 23:47:38 2022 +0100
Fixed an infinite loop: we were calling buf.toString in buf.toString
---
.../src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
index 3c31629..cde71c7 100644
--- a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
+++ b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
@@ -104,7 +104,7 @@ class IoBufferHexDumper {
final StringBuilder sb = new StringBuilder();
sb.append("Source ");
- sb.append(buf);
+ sb.append("0x").append(Integer.toHexString(buf.hashCode()));
sb.append(" showing index ");
sb.append(offset);
sb.append(" through ");