[Home]

Summary:ASTERISK-13172: [patch] error allocationg a manager user
Reporter:Clod Patry (junky)Labels:
Date Opened:2008-12-07 23:09:07.000-0600Date Closed:2008-12-08 12:49:46.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) M14027.diff
Description:when using the manager with 1.6, i noticed this problem.

When using permission to all like:
[junky]
secret=foo
read = all
write = all


When i do:
shooter*CLI> manager show user junky
shooter*CLI>
      username: junky
        secret: <Set>
           acl: no
     read perm: system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,a
    write perm: system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,a
displayconnects: yes
[Dec  7 23:59:55] failed to extend from 80 to 126
[Dec  7 23:59:55] failed to extend from 80 to 118
[Dec  7 23:59:55] failed to extend from 80 to 126
[Dec  7 23:59:55] failed to extend from 80 to 118

So the solution is just to increment the size to 128.

Comments:By: Clod Patry (junky) 2008-12-07 23:18:17.000-0600

This patch should also be apply to 1.6.1 and trunk.

By: Digium Subversion (svnbot) 2008-12-08 12:49:46.000-0600

Repository: asterisk
Revision: 161790

U   trunk/main/manager.c

------------------------------------------------------------------------
r161790 | tilghman | 2008-12-08 12:49:45 -0600 (Mon, 08 Dec 2008) | 6 lines

Allocate enough space initially for the message.
(closes issue ASTERISK-13172)
Reported by: junky
Patches:
      M14027.diff uploaded by junky (license 177)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=161790