]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail_odbc: Fix string overflow warning.
authorNaveen Albert <asterisk@phreaknet.org>
Mon, 14 Nov 2022 13:12:19 +0000 (13:12 +0000)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 20 Dec 2022 14:57:32 +0000 (08:57 -0600)
commit20d4775d0abb06eb51ccf1764e6729603b3510d4
treebd81a076ed65907dda9fbc409fbb401c731dbb27
parentcbb1fd2cb9e24b5ed268e9af9be66f22b1bf03eb
app_voicemail_odbc: Fix string overflow warning.

Fixes a negative offset warning by initializing
the buffer to empty.

Additionally, although it doesn't currently complain
about it, the size of a buffer is increased to
accomodate the maximum size contents it could have.

ASTERISK-30240 #close

Change-Id: I8eecedf14d3f2a75864797f802277cac89a32877
apps/app_voicemail.c