#1296 No range checking for rows in addindex() of bcrsmatrix.hh
Metadata
Property | Value |
---|---|
Reported by | Tilak Raj Singh (tilak72@gmail.com) |
Reported at | May 2, 2013 12:20 |
Type | Bug Report |
Version | 2.2 |
Operating System | Linux |
Description
Range checking is only done for column index and not row index in addindex() of bcrsmatrix.hh
So if trying to add a index for row not in matrix we get a segmentation fault. It would be nice to report this
I propose the following patch