[cmake-developers] Fix divide by zero error in ELF Dynamic Section parsing

Brad King brad.king at kitware.com
Thu Nov 19 13:21:27 EST 2015


On 11/19/2015 12:04 PM, Ty Smith wrote:
> I've attached a patch made when I encountered a divide by zero error
> when compiling with the latest CMake release.
> This can happen with GCC for certain platforms; here it was MIPS.

Thanks, applied:

 cmELF: Avoid divide by zero if there are no dynamic section entries
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f5cd92a8

-Brad



More information about the cmake-developers mailing list