openbsc[master]: add strncpy0.h for safe/convenient strncpy() wrappers

Max gerrit-no-reply at
Fri Jan 13 11:24:47 UTC 2017

Patch Set 2:

Also, why not use strncat? if(sizeof(dst)) { *dst = '\0'; strncat(dst, src, sizeof(dst)-1); } looks easier to me.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I505d58a02fe46d492087a3dcbff59e287521d5ad
Gerrit-PatchSet: 2
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at>
Gerrit-HasComments: No

More information about the gerrit-log mailing list