Change in libosmocore[master]: logging: log_vty_command_string: Fix undercount of buf alloc size

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jul 25 18:51:21 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10134 )

Change subject: logging: log_vty_command_string: Fix undercount of buf alloc size
......................................................................

logging: log_vty_command_string: Fix undercount of buf alloc size

Change-Id: I7aca0ce3d2981001e8081f7cee0dea3e2aaf8f7c
---
M src/logging.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/logging.c b/src/logging.c
index 1dfd484..381d303 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -932,7 +932,7 @@
 {
 	struct log_info *info = osmo_log_info;
 	int len = 0, offset = 0, ret, i, rem;
-	int size = strlen("logging level () ()") + 1;
+	int size = strlen("logging level (all|) ()") + 1;
 	char *str;
 
 	assert_loginfo(__func__);

-- 
To view, visit https://gerrit.osmocom.org/10134
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7aca0ce3d2981001e8081f7cee0dea3e2aaf8f7c
Gerrit-Change-Number: 10134
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180725/545900e1/attachment.htm>


More information about the gerrit-log mailing list