tonioni/WinUAE — pull request #46 by FrodeSolheim (2014-07-30 22:21:28+00:00)
Title: expansion.cpp: increase MAX_EXPANSION_BOARDS to 11?

Static analysis indicates that the number of expansion boards could reach 10, causing memory corruption. It might not be a real-world problem (cfgfile makes sure some combinations are never used at the same time, etc). To have room for expamem_init_last, MAX_EXPANSION_BOARDS would, to account for the worst case, have to be 11.

You can consider if it is best to increase it to 11 to be on the safe side, or dismiss the pull request if not :)