[Asterisk-Users] gotoiftime error
Paulo Mannheimer
paulohm at instant.com.br
Tue Jul 1 10:13:51 MST 2003
Sure, here it goes.
As you may notice, a local instance of the variable ast_include is used
in function pbx_builtin_gotoiftime
As the local variable is not initialized to zero, its "minmask"
bitfields contain garbage, thus sometimes yielding true for unallowed
times.
BTW, nice work on the bitfield logic.
PauloHM
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Tilghman
Lesher
Sent: July 01, 2003 1:24 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] gotoiftime error
On Tuesday 01 July 2003 09:08 am, Paulo Mannheimer wrote:
> Hi folks,
>
> There was a bug with the GotoIfTime built-in command, under certain
> circumstances a variable contained garbage, screwing up correct
> time identification.
>
> I'm submitting now a patch to Mark so this can be fixed.
What exactly was the error? Could you post the patch here? Since
I wrote the GotoIfTime application, I'm curious to know what the bug
was.
-Tilghman
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gotoiftime.diff
Type: application/octet-stream
Size: 868 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030701/1408a0b6/gotoiftime.obj
More information about the asterisk-users
mailing list