You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Owen Jacobson (JIRA)" <ji...@apache.org> on 2007/10/06 07:27:50 UTC
[jira] Updated: (DIRMINA-454) Trivial denial of service in
TextLineDecoder
[ https://issues.apache.org/jira/browse/DIRMINA-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Jacobson updated DIRMINA-454:
----------------------------------
Attachment: no-dos.patch
Attached a patch that should resolve it. I was unable to submit "too long" messages using either decoding path.
> Trivial denial of service in TextLineDecoder
> --------------------------------------------
>
> Key: DIRMINA-454
> URL: https://issues.apache.org/jira/browse/DIRMINA-454
> Project: MINA
> Issue Type: Bug
> Components: Filter
> Affects Versions: 1.1.2
> Reporter: Owen Jacobson
> Attachments: no-dos.patch
>
>
> In both of TextLineDecoder's decoding methods, the decoder only checks the size of input after it's found at least one line ending character. Infinitely long streams of, say, 'y's will cause the decoder to try to buffer up data until the JVM falls over.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.