• Jonathan Wilkes's avatar
    port from Pd Vanilla (some of these were already ported): 5a1b58 · d7ccb9db
    Jonathan Wilkes authored
    These bugs were discovered via static code-analysis
    https://scan.coverity.com/projects/pure-data-pure-data
    (The CID numbers are the "Coverity IDs" used to identify the various bugs)
    
    - Don't free binbuf within glist_readfrombinbuf (CID:74871)
    - it must be deleted by the caller
    - Initialize sockaddr_in (CID:74861,74862,74863,74866)
    - Initialize indelay/outdelay (CID:74864,74865)
    - Initialize device-arrays (CID:74853,74854,74855,74856)
    - Closing unneeded sockets (CID:74827)
    - Initialize sockaddr_in (CID:74860}
    - Close file-descriptor if the soundfile is unparsable (CID:74822,74823)
    - Close file-handle in cleanup (CID:74816)
    - Call va_end() when handling variadic args (CID:74872)
    - Added missing break (CID:74800)
    - Prevent NULL-dereferences (CID:74792,74793)
    - Size checks when copying into string buffers (CID:74844,74845,74846,74847,74849)
    - Freeing no-more used storage (CID:74832)
    - Fixed code block (CID:74806)
    - Initialize sockaddr_in (CID:748...
    d7ccb9db
g_editor.c 258 KB