[Bro-Dev] [JIRA] (BIT-1241) Plugin: HandlePluginResult fix for TYPE_ANY
gclark (JIRA)
jira at bro-tracker.atlassian.net
Sat Sep 6 18:50:07 PDT 2014
[ https://bro-tracker.atlassian.net/browse/BIT-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
gclark updated BIT-1241:
------------------------
Description:
We should disable strict type sanity checking in HandlePluginResult for bro functions that return TYPE_ANY.
This is needed to wrap functions such as Queue::get() where the function is declared with a return type of 'any', but often returns items that are of a specific type (e.g. record). Although a returned record value is valid, the type sanity check in Func::HandlePluginResult fails because TYPE_RECORD != TYPE_ANY.
was:We should disable strict type sanity checking in HandlePluginResult for bro functions that return TYPE_ANY.
> Plugin: HandlePluginResult fix for TYPE_ANY
> -------------------------------------------
>
> Key: BIT-1241
> URL: https://bro-tracker.atlassian.net/browse/BIT-1241
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro
> Reporter: gclark
> Assignee: gclark
> Priority: Low
>
> We should disable strict type sanity checking in HandlePluginResult for bro functions that return TYPE_ANY.
> This is needed to wrap functions such as Queue::get() where the function is declared with a return type of 'any', but often returns items that are of a specific type (e.g. record). Although a returned record value is valid, the type sanity check in Func::HandlePluginResult fails because TYPE_RECORD != TYPE_ANY.
--
This message was sent by Atlassian JIRA
(v6.4-OD-04-006#64001)
More information about the bro-dev
mailing list