Merged revisions 163080 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Thu, 11 Dec 2008 16:33:16 +0000 (16:33 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 11 Dec 2008 16:33:16 +0000 (16:33 +0000)
commitcda010c3b7923058fefcea56a1a184bcad7073f1
tree238238f6d9fc8c1fe54c4e194df4ae57ca9a5c0e
parent3b6fc0369fc62c0e22426be5f67c14a4047b7725
Merged revisions 163080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r163080 | mmichelson | 2008-12-11 10:24:43 -0600 (Thu, 11 Dec 2008) | 14 lines

Fix a potential crash due to unsafe datastore handling.

This patch also contains a conversion from using long to time_t
for representing times for a queue, as well as some whitespace
fixes.

(closes issue #14060)
Reported by: nivek
Patches:
      datastore_fixup.patch.corrected uploaded by nivek (license 636)
  with slight modification from me
Tested by: nivek

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c