Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Catch over range lam0 in proj_etmerc.c #899
lam0 of inf caused a nan in the cast to int.
proj_etmerc.c:361:16: runtime error: nan is outside the range of representable values of type 'int'
Found with autofuzz: UndefinedBehaviorSanitizer: float-cast-overflow
The fix seems find. Thanks for catching the problem. May I ask though that you move the
 at least @busstoptaktik and me