ennorehling / ennodb

EnnoDB
20 stars 0 forks source link

handle out-of-memory situations #3

Open ennorehling opened 9 years ago

ennorehling commented 9 years ago

I am never checking the result of malloc, so that's a crash waiting to happen.

ennorehling commented 9 years ago

recommend that I run a static analysis tool on this. And a fuzzer, for good measure.

useful links

  1. Shale suggests AFL: http://lcamtuf.coredump.cx/afl/
  2. Clang static analyser: http://clang-analyzer.llvm.org/
  3. Microsoft Visual Studio's built-in analysis tool, probably