core: fixed condition for 0 ID or NULL NAME AVP
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 5 Apr 2021 15:23:59 +0000 (17:23 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 13 Apr 2021 06:23:33 +0000 (08:23 +0200)
commitaa285587c015e03a105442b1964ac0dd1dc52f1f
treeab257d44197ee363bd25d44048826f626fa22811
parent2d091fa67133e49d23e81007820900ceef91f503
core: fixed condition for 0 ID or NULL NAME AVP

- avoid null in memcpy for AVP_NAME_STR

(cherry picked from commit ca1821837dfe7dd6630f628d968ed4d1178c7040)
src/core/usr_avp.c