Seagull Version: 1.4.1
For diameter CCR-CCA message, when starting up seagull, it was not working properly, it will prompt a fatal error and exit:
"Fatal: Maximum number of values reached ".
There was no CCR-CCA messages sent.
It was caused by L_data_size caculated in function "C_ProtocolBinary::decode_body()" at line 3113(./protocol-binary/C_ProtocolBinary.c). If L_data_size is zero under certain circumstances, "L_data_size -= L_header_body_size" will cause an error. for L_data_size is an unsigned long type, so the value will be set a very large number.