Hi Andreas,

2013/8/26 Andreas Granig <[email protected]>:
> Hi,
>
> In modules/permissions/trusted.c in function allow_trusted_2() there is
>
>     if(proto.len!=3 && proto.len!=4)
>         goto error;
>
> but later it checks for "ws" which is never reached due to len=2. Also the
> docs don't seem to be up to date in regards to support for WS and WSS.
>
> Unfortunately I'm travelling the next 3 days, maybe someone can quickly pick
> it up?

I think [0] and [1] may solve this. But I'm not so sure, I've just got
home after some glasses of wine :-P

[0] 
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=573c9031a44168df356818f572f10f69791a1458
[1] 
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=8097c2bccb2161f63900bbd5fb87a10eacdd282c

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to