]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 20 Dec 2022 14:53:59 +0000 (08:53 -0600)
commit4168fa3466c5eacdf892d08f868e53b417ac1df0
treeffc1da8d1f102ab76b23deeb9fbf32b911b2ceb8
parentee170ab166e5e1f6f3645a0057657c1fc9760a09
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