[Bro-Dev] [JIRA] (BIT-1295) core dump when attempting to assign via string index
Jon Siwek (JIRA)
jira at bro-tracker.atlassian.net
Tue Dec 2 08:35:00 PST 2014
[ https://bro-tracker.atlassian.net/browse/BIT-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19101#comment-19101 ]
Jon Siwek commented on BIT-1295:
--------------------------------
The change in topic/jsiwek/bit-1295 allows this to be caught at parse-time as an error.
If the issue was more about making assignment to a string index/slice via "=" and "+=" actually work that probably deserves a different ticket -- there would be some questions about how those work in particular cases and also seems like it's moving towards treating strings like the other types of mutable values (e.g. vector/table) so need to decide if that's even wanted and if any further code restructuring makes sense to do for those types.
> core dump when attempting to assign via string index
> ----------------------------------------------------
>
> Key: BIT-1295
> URL: https://bro-tracker.atlassian.net/browse/BIT-1295
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro
> Reporter: Daniel Thayer
> Fix For: 2.4
>
> Attachments: test.bro
>
>
> The attached script causes Bro to dump core.
--
This message was sent by Atlassian JIRA
(v6.4-OD-11-012#64007)
More information about the bro-dev
mailing list