Closed kraus1049 closed 8 years ago
Hello,
I've tracked down the seg fault. It seems that this line should be:
if ( row < prop->rowCount()-1) {
row is an integer ranging from 0 to prop->rowCount()-1, so Qucs tries to access a non-existing element...
prop->setCurrentItem(prop->item(row+1,0));
row+1 > prop->rowCount()-1 => here's the seg fault
Should I open a PR with the patch?
Should I open a PR with the patch?
why shouldn't you? :grin:
just checking :-)
Fixed in #514.
Thanks @kraus1049 for reporting the issue!
Reproducing way
qucs will fail into segmentation fault after step 3.
qucs version
Environment