[Bro-Dev] [JIRA] (BIT-1445) Broker crash when two stores go to the same SQLite DB

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Mon Aug 10 12:08:00 PDT 2015


Robin Sommer created BIT-1445:
---------------------------------

             Summary: Broker crash when two stores go to the same SQLite DB
                 Key: BIT-1445
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1445
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Broker
    Affects Versions: 2.4
            Reporter: Robin Sommer
             Fix For: 2.5



This crashes Bro:

{code}
[...]
    local s = BrokerStore::create_master("BroCon", BrokerStore::SQLITE);
    local t = BrokerStore::create_master("BroCon2", BrokerStore::SQLITE);
    [...]
{code}

Both stores go to the same file because the 3rd parameter with the file name is optional and defaults to {{store.sqlite}}; and that is a problem.



--
This message was sent by Atlassian JIRA
(v6.5-OD-08-001#65007)


More information about the bro-dev mailing list