[Asterisk-code-review] Compiler fixes for GCC with -Os (asterisk[master])

Kevin Harwell asteriskteam at digium.com
Tue Nov 3 15:46:15 CST 2020


Kevin Harwell has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/15079 )

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; Approved for Submit
  George Joseph: Looks good to me, but someone else must approve



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/+/15079
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I9af705f2b9725c53141aef5d0ff512a1800f073c
Gerrit-Change-Number: 15079
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/f32653c5/attachment.html>


More information about the asterisk-code-review mailing list