Browse Source
* mem_t: Throw an error if zero-sized memory is requested If for some reason the user requests a memory size of 0 megabytes, print a useful error message. * Check for overflow in memory size If the user passes in a large enough memory size (-m) that the size in bytes doesn't fit into size_t, catch this error in the make_mems function.pull/172/head
committed by
Andrew Waterman
2 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue