Change in osmocom-bb[master]: layer23: Replace all instances of strncpy() by osmo_strlcpy

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
Sat Aug 11 14:08:59 UTC 2018


Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/10437 )

Change subject: layer23: Replace all instances of strncpy() by osmo_strlcpy
......................................................................


Patch Set 2: Code-Review-1

(2 comments)

https://gerrit.osmocom.org/#/c/10437/2/src/host/layer23/src/common/l1l2_interface.c
File src/host/layer23/src/common/l1l2_interface.c:

https://gerrit.osmocom.org/#/c/10437/2/src/host/layer23/src/common/l1l2_interface.c@118
PS2, Line 118: 	local.sun_path[sizeof(local.sun_path) - 1] = '\0';
this can go


https://gerrit.osmocom.org/#/c/10437/2/src/host/layer23/src/common/sap_interface.c
File src/host/layer23/src/common/sap_interface.c:

https://gerrit.osmocom.org/#/c/10437/2/src/host/layer23/src/common/sap_interface.c@512
PS2, Line 512: 	local.sun_path[sizeof(local.sun_path) - 1] = '\0';
this can go



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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica6098ceba2bd01ce3b216085442cc5eed0ca507
Gerrit-Change-Number: 10437
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Sat, 11 Aug 2018 14:08:59 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180811/49febf95/attachment.htm>


More information about the gerrit-log mailing list