Closed saraaibak closed 4 months ago
I could not reproduce it so either you have something wrong in your setup or you are simply using a version with a bug that has since been fixed. So you can try updating all the projects or at least provide gdb
backtrace or valgrind
output of the crash.
Hi @michalvasko,
I have observed that netopeer server is getting killed when I push a xml configuration which contains a parameter value which is out of the range mentioned in the corresponding yang model.
Recreation steps : As per the yang model,
And I push xml which contains max-call-home-attempts value greater than 20. Sometimes If I push the value for the first time, it is returning the below error.
Then after providing a value in the range it returns OK. But again pushing a value out of range kills the netopeer server. Observed same behaviour for other yangs also. Netopeer server side logs are given below.
Version I am using is netopeer2 ([2.1.49]) libyang ([v2.1.30] libnetconf2 ([v2.1.28] and sysrepo ([v2.2.36]).