Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Possible ACL bug in 1.4

On Tue, Mar 17, 2015 at 2:26 PM, Doug Meredith
<doug.meredith@xxxxxxxxxxxx> wrote:
> Hi Roger,
>
> I considered that it might be the same bug, but this works:
>
> topic  dsc/command/raw/030
>
> topic  dsc/command/raw/031
>
>
> There are two spaces after the word "topic".

You are correct, but that wouldn't have triggered the bug. The
important check would be between

topic read  openhab/#
topic read openhab/#

The difference is that the space parsing bug will only occur on the
last possible section of the string. There are three parts to the
topic option (including topic itself), so if you've only got two parts
the parsing bug wouldn't have triggered.

Cheers,

Roger


Back to the top