nodechan

decentralized peer-to-peer anonymous messageboard client
git clone git://squid-tech.com/nodechan.git
Log | Files | Refs | README

commit 84b41f93c02c154d9a780ebf05e08b4ef61a9c60
parent 35fe418b3086c5c881b203326e0e1ac206e53c1d
Author: joshiemoore <jxm5210@g.rit.edu>
Date:   Thu,  8 Aug 2019 03:44:57 -0400

Fuck thread decoding overflow issue

Diffstat:
Msrc/ChanPost.java | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/ChanPost.java b/src/ChanPost.java @@ -152,7 +152,12 @@ public class ChanPost { String newTid = new String(in, 8, 8); String newPid = new String(in, 16, 8); String newTitle = new String(in, 24, 50); - String newText = new String(in, 74, 256); + String newText = ""; + + for (int i = 74; i < in.length; i++) { + newText = newText + (char)in[i]; + } + InetAddress newAddr = null; try {