Ticket #3950 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

read_dimacs needs to check for errors

Reported by: cljanss Owned by: gemacke
Priority: normal Milestone:
Version: Severity: normal
Keywords: Cc:


read_dimacs dereferences the return value of read_array without checking to see if it is null. It is null when filename is not found, for example.

Change History

comment:1 Changed 8 years ago by gemacke

  • Owner changed from eldorado-graph@… to gemacke
  • Status changed from new to accepted

comment:2 Changed 8 years ago by gemacke

This actually occurs in most of the read_ functions. It needs to be corrected in all of them.

comment:3 Changed 8 years ago by gemacke

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in r2974.

comment:4 Changed 7 years ago by gemacke

  • component Eldorado deleted
Note: See TracTickets for help on using tickets.