[Asterisk-code-review] Compiler fixes for GCC with -Os (asterisk[16])
Friendly Automation
asteriskteam at digium.com
Tue Nov 3 15:15:33 CST 2020
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/15107 )
Change subject: Compiler fixes for GCC with -Os
......................................................................
Compiler fixes for GCC with -Os
ASTERISK-29145
Change-Id: I9af705f2b9725c53141aef5d0ff512a1800f073c
---
M utils/muted.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Kevin Harwell: Looks good to me, approved
George Joseph: Looks good to me, but someone else must approve
Friendly Automation: Approved for Submit
diff --git a/utils/muted.c b/utils/muted.c
index a14845f..87a678f 100644
--- a/utils/muted.c
+++ b/utils/muted.c
@@ -123,7 +123,7 @@
static int load_config(void)
{
FILE *f;
- char buf[1024];
+ char buf[256];
char *val;
char *val2;
int lineno=0;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15107
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I9af705f2b9725c53141aef5d0ff512a1800f073c
Gerrit-Change-Number: 15107
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201103/9dda5331/attachment-0001.html>
More information about the asterisk-code-review
mailing list