Attached are scan-build results under Clang 3.3. Some are spurious while others look like they might be valid.
Dead assignment: 5
Dereference of null pointer: 6
Dereference of undefined pointer value: 3
Division by zero: 3
Result of operation is garbage or undefined: 1
Navigate to index.html for the report and links to each issue flagged by Clang. The Clang reports shows the code path followed when the issue was raised.