Skip to content

Commit

Permalink
sepinf-inc#2286: avoid timeout in chat with a lot of messages in UFED…
Browse files Browse the repository at this point in the history
…ChatParser
  • Loading branch information
aberenguel committed Oct 18, 2024
1 parent af8edd0 commit 2d43244
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ public void parse(InputStream inputStream, ContentHandler handler, Metadata chat
} else {
logger.error("Unknown chat child: {}", chatChild);
}

// reset timeout counter
char[] nameChars = (chatChild.getName() + "\n").toCharArray();
handler.characters(nameChars, 0, nameChars.length);
}
}

Expand Down

0 comments on commit 2d43244

Please sign in to comment.