# HG changeset patch # User Thomas Klausner # Date 1624390081 -7200 # Node ID 4971c8c8879ed70042186b160823c60803bbe514 # Parent a3da9370c03fbf2cfeba4dcd9c94976eb118abb1 dict_rfc5777: do not add empty content rules Coverity CID 349447 diff -r a3da9370c03f -r 4971c8c8879e extensions/dict_rfc5777/dict_rfc5777.c --- a/extensions/dict_rfc5777/dict_rfc5777.c Tue Jun 22 21:18:43 2021 +0200 +++ b/extensions/dict_rfc5777/dict_rfc5777.c Tue Jun 22 21:28:01 2021 +0200 @@ -325,12 +325,9 @@ AVP_TYPE_GROUPED /* base type of data */ }; - struct local_rules_definition rules[] = - { //empty?? - }; - + // the contents depend on the values of other AVPs and can not be defined + // in the general case, so do not assign rules CHECK_dict_new( DICT_AVP, &data , NULL, &avp); - PARSE_loc_rules( rules, avp ); } /* QoS-Profile-Template - RFC 5777 */