[Bro-Dev] [JIRA] (BIT-1345) Crash due to a bad dictionary insert

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Wed Mar 18 11:24:00 PDT 2015


     [ https://bro-tracker.atlassian.net/browse/BIT-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-1345:
---------------------------
    Fix Version/s: 2.4

> Crash due to a bad dictionary insert
> ------------------------------------
>
>                 Key: BIT-1345
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1345
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>            Reporter: Aaron Eppert
>            Priority: High
>             Fix For: 2.4
>
>
> #0  0x0000000000713b87 in Dictionary::Insert (this=0x1339840, new_entry=0xb18a9d0, copy_key=0) at /root/<redacted>/bro/src/Dict.cc:419
> #1  0x00000000007130b0 in Dictionary::Insert (this=0x1339840, key=0xa23f6d0, key_size=36, hash=658668102, val=0x67fde40, copy_key=0) at /root/<redacted>/bro/src/Dict.cc:158
> #2  0x00000000006cb508 in Dictionary::Insert (this=0x1339840, key=0x7ffff4ba81b0, val=0x67fde40) at /root/<redacted>/bro/src/Dict.h:47
> #3  0x000000000077ee9b in IDPDict::Insert (this=0x1339840, key=0xebf780 "#<redacted>-<redacted>.<redacted>.<redacted>#21703#1182", val=0x67fde40) at /root/<redacted>/bro/src/Scope.h:18
> #4  0x000000000077ef05 in Scope::Insert (this=0x133a8b0, name=0xebf780 "#<redacted>-<redacted>.<redacted>.<redacted>#21703#1182", id=0x67fde40) at /root/<redacted>/bro/src/Scope.h:26
> #5  0x00000000008010cc in MutableVal::Bind (this=0x14f451f0) at /root/<redacted>/bro/src/Val.cc:624
> #6  0x0000000000800ec8 in MutableVal::AddProperties (this=0x14f451f0, arg_props=2 '\002') at /root/<redacted>/bro/src/Val.cc:558
> #7  0x000000000080a8d6 in RecordVal::AddProperties (this=0x14f451f0, arg_props=2 '\002') at /root/<redacted>/bro/src/Val.cc:2866
> #8  0x0000000000805948 in TableVal::Assign (this=0xb1dab00, index=0x13e81770, k=0x0, new_val=0x14f451f0, op=OP_ASSIGN) at /root/<redacted>/bro/src/Val.cc:1502
> #9  0x0000000000805501 in TableVal::Assign (this=0xb1dab00, index=0x13e81770, new_val=0x14f451f0, op=OP_ASSIGN) at /root/<redacted>/bro/src/Val.cc:1442
> #10 0x0000000000738b13 in IndexExpr::Assign (this=0x2087350, f=0x12073280, v=0x14f451f0, op=OP_ASSIGN) at /root/<redacted>/bro/src/Expr.cc:3135
> #11 0x00000000007362a2 in RefExpr::Assign (this=0x2087540, f=0x12073280, v=0x14f451f0, opcode=OP_ASSIGN) at /root/<redacted>/bro/src/Expr.cc:2463
> #12 0x00000000007370ea in AssignExpr::Eval (this=0x20874d0, f=0x12073280) at /root/<redacted>/bro/src/Expr.cc:2673
> #13 0x00000000007e22bb in ExprStmt::Exec (this=0x2087660, f=0x12073280, flow=@0x7ffff4ba8624) at /root/<redacted>/bro/src/Stmt.cc:369
> #14 0x00000000007e8375 in StmtList::Exec (this=0x2082c80, f=0x12073280, flow=@0x7ffff4ba8624) at /root/<redacted>/bro/src/Stmt.cc:1764
> #15 0x000000000074e6cd in BroFunc::Call (this=0x2087e70, args=0x13525bb0, parent=0x0) at /root/<redacted>/bro/src/Func.cc:386
> #16 0x0000000000725883 in EventHandler::Call (this=0x2082160, vl=0x13525bb0, no_remote=false) at /root/<redacted>/bro/src/EventHandler.cc:80
> #17 0x00000000006d8cc2 in Event::Dispatch (this=0x620e610, no_remote=false) at /root/<redacted>/bro/src/Event.h:50
> #18 0x0000000000724ef7 in EventMgr::Dispatch (this=0xebd400) at /root/<redacted>/bro/src/Event.cc:111
> #19 0x0000000000725032 in EventMgr::Drain (this=0xebd400) at /root/<redacted>/bro/src/Event.cc:128
> #20 0x0000000000788828 in net_packet_dispatch (t=1426626559.98401, hdr=0x3314d40, pkt=0x7f14a8b464cc <Address 0x7f14a8b464cc out of bounds>, hdr_size=14, src_ps=0x3314c00)
>     at /root/<redacted>/bro/src/Net.cc:278
> #21 0x0000000000a786d5 in iosource::PktSrc::Process (this=0x3314c00) at /root/<redacted>/bro/src/iosource/PktSrc.cc:411
> #22 0x00000000007889f8 in net_run () at /root/<redacted>/bro/src/Net.cc:320
> #23 0x00000000006d8157 in main (argc=20, argv=0x7ffff4ba9188) at /root/<redacted>/bro/src/main.cc:1200



--
This message was sent by Atlassian JIRA
(v6.4-OD-15-055#64014)


More information about the bro-dev mailing list