|Summary:||ASTERISK-11764: [patch] Voicemail accepts an invalid mailbox as valid when using realtime|
|Date Opened:||2008-04-01 05:10:56||Date Closed:||2008-04-01 11:42:01|
|Environment:||Attachments:||( 0) 12347.patch|
|Description:||When prompted to enter a mailbox number, an invalid mailbox is allowed without a password the second time you are prompted.|
I think that this is because the *var variable is not defined as NULL.
patch attached that fixes the problem for me.
****** ADDITIONAL INFORMATION ******
steps to reproduce: (using mailbox 66 which is invalid as an example)
"you have no messages"
|Comments:||By: jmls (jmls) 2008-04-01 05:14:53|
I suspect that the problem also exists in find_user_realtime_imapuser as well. new patch uploaded
By: Tilghman Lesher (tilghman) 2008-04-01 09:52:13
I don't see how this patch fixes the problem, and when I use my contributed dbsep.cgi script as the backend to res_config_curl, I cannot reproduce the problem.
By: jmls (jmls) 2008-04-01 11:42:01
using older version of res_config_curl. Updated to the unofficial backport (http://svncommunity.digium.com/svn/tilghman/branches/1.4/res_config_curl.c) and all's ok. Sorry for the noise