libosmocore[master]: utils: avoid segfault when calling osmo_strlcpy(src=NULL)

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Oct 27 00:07:01 UTC 2017


Patch Set 1:

> (1 comment)
 > 
 > > Even in that case I still think that we have to update tests as
 > > well.
 > 
 > scrap the "even in that case", otherwise I agree, could add some
 > NULL tests.

well, whaddaya know, there seems to be no osmo_strlcpy test around anywhere. I'll leave it to a separate patch then, am not too eager right now.

-- 
To view, visit https://gerrit.osmocom.org/4407
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ieba7ba262ace2e370a4b9a550b3131fb13f07413
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: No


More information about the gerrit-log mailing list