| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…overity) Protect update() against negative and zero sample-request. The zero-samples request could potentially forward uninitatlized pointers which would be attempted to be filled with nothing.
* If mode set to OPL3 (not supported for this emulator), output[] contains random data. * Missing header file. * Explicit initialize mixbuf0, mixbuf1, mixbuf2, even if they are never accessed before being assigned.
* oldvol not initialized. * gotperms not initialized.
* Explicit initialize mixbuf0, mixbuf1, mixbuf2, even if they are never accessed before being assigned. Coverity static code-analyzer really dislikes non-initialized pointers.
* add checks to all register-offset parameters.
| Back | FazBrowse Home | New Git URL |
These are primarily to make static-code analyzer (Coverity) happy, but never hurts to ensure memory is initialized and range-test arguments when functions are public.