Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#199 Assertion in GF2mat_sparse_alist::read() erroneous

SVN
closed
5
2012-09-15
2011-09-13
Laurent Schmalen
No

The alist format uses one-based indexing as MATLAB. If the alist file is by any chance corrupted, the wrong assert causes 0s to be read and thus accesses to position -1 in the resulting sparse matrix, leading in many cases to a segmentation fault.

See attached patch for a fast fix.

Discussion

  • Patch fixing erroneous assert in reading routine of alist files

     
    Attachments
  • Fixed in SVN. Thank you for providing the patch.