Merged revisions 212763 via svnmerge from
authorSean Bright <sean@malleable.com>
Tue, 18 Aug 2009 16:38:36 +0000 (16:38 +0000)
committerSean Bright <sean@malleable.com>
Tue, 18 Aug 2009 16:38:36 +0000 (16:38 +0000)
commit98f42ac6faf429ce0f1c0045c8ba1e6e2ffc60ff
treea87063e693a52107d26173ca8811ec47daa8cf36
parent66f146e8cf8fee0973787c1e6dbd42ac0a1ab596
Merged revisions 212763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r212763 | seanbright | 2009-08-18 12:36:00 -0400 (Tue, 18 Aug 2009) | 11 lines

  Delay the creation of temporary files until we have a valid manager command to handle.

  Without this patch, asterisk creates a temporary file before determining if the
  specified command is valid.  If invalid, we weren't properly cleaning up the file.

  (closes issue #15730)
  Reported by: zmehmood
  Patches:
        M15730.diff uploaded by junky (license 177)
  Tested by: zmehmood
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c