{"push_id":595351913,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"5f77cd57fbfd651bc631fd6e1ae4bd33041e44c6","before":"03e6614e1d74dc027ae60a61a481d0ed0f782301","commits":[{"sha":"99277e21346bd70319a886dc726d78dce0a7740a","author":{"email":"2961acf146ea59954e6cf69a634e53c95b5486b2@gmx.de","name":"Marc Joliet"},"message":"Fix two cases of initialising a zero-length array\n\nThese two errors were caught by scan-build, which is distributed with clang.\nIn both cases, conditions may arise in which a VLA is initialised with length\nzero.  Neither array is actually *used* afterwards (other checks will lead to\nan exception first), and have not — on my system at least — lead to any\ncompiler diagnostics or crashes, but still: strictly speaking, an array must\nhave at least one element.\n\nNote that there are still a number of reports by scan-build, for blockread.c\nand read_utils.c.  In the case of the former, all reports are clearly false\npositives, because scan-build does not know that the mexErr* functions exit the\nfunction.  In the case of the latter, I'm not 100% sure, but both reports seem\nto assume that file_exts only has one element, which is not true.  I think that\nscan-build cannot take into account that num_formats depends on an external\nfunction, or that num_formats is the same in get_format_extensions() and\ngen_filename(), or both.","distinct":true,"url":"https://api.github.com/repos/marcecj/msndfile/commits/99277e21346bd70319a886dc726d78dce0a7740a"},{"sha":"5cb19350bfc0968672b5c33264339049df473416","author":{"email":"2961acf146ea59954e6cf69a634e53c95b5486b2@gmx.de","name":"Marc Joliet"},"message":"Fix two minor stylistic blunders","distinct":true,"url":"https://api.github.com/repos/marcecj/msndfile/commits/5cb19350bfc0968672b5c33264339049df473416"},{"sha":"5f77cd57fbfd651bc631fd6e1ae4bd33041e44c6","author":{"email":"2961acf146ea59954e6cf69a634e53c95b5486b2@gmx.de","name":"Marc Joliet"},"message":"Add some additional unit tests","distinct":true,"url":"https://api.github.com/repos/marcecj/msndfile/commits/5f77cd57fbfd651bc631fd6e1ae4bd33041e44c6"}]}