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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Jul 24 15:19:27 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/34/10134/1

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: newchange
Gerrit-Change-Id: I7aca0ce3d2981001e8081f7cee0dea3e2aaf8f7c
Gerrit-Change-Number: 10134
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180724/c55f01e4/attachment.htm>


More information about the gerrit-log mailing list