[Bro-Dev] [JIRA] (BIT-1277) activeHTTP's input read crashes when the returning content-length is 0

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Tue Oct 21 08:14:07 PDT 2014


    [ https://bro-tracker.atlassian.net/browse/BIT-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18501#comment-18501 ] 

Johanna Amann commented on BIT-1277:
------------------------------------

Could you perhaps add a test-case for that? Especially for the empty-file-part of the exec framework.

There already are tests for the exec and the active-http framework - either adding a small new one or extending one of them to cover this case too should do the job :).

> activeHTTP's input read crashes when the returning content-length is 0
> ----------------------------------------------------------------------
>
>                 Key: BIT-1277
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1277
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master
>         Environment: Debian 7 with bro/master and curl 7.26.0
>            Reporter: Christian Struck
>              Labels: language
>
> curl does not write an bodyfile if the returned content length is 0. therefore the fileread of the bodyfile will fail.



--
This message was sent by Atlassian JIRA
(v6.4-OD-07-004#64005)


More information about the bro-dev mailing list