You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace memcmp-based NaN/Inf detection with isnan()/isinf() from <math.h>
(portable, correct for all NaN bit patterns, and now checks latDeg for Inf too)
- Fix off-by-one in encodeLatLonToSelectedMapcode: > should be >= for index bound
- Remove always-false ASSERT after *s=0 in encodeExtension
- Fix convertFromAbjad/convertToAbjad to null-check strchr return before arithmetic
- Allow TERRITORY_NONE/TERRITORY_UNKNOWN in encodeLatLonToSingleMapcode per docs
- Fix convertUtf16ToUtf8 to return start pointer instead of post-null end pointer
- Explicitly initialize GLOBAL_MAKEISO_PTR (was accidentally correct via NULL)
- Replace sprintf with snprintf in convertToRoman (mapcode_legacy.c)
- Change UWORD from unsigned short int to uint16_t; add #include <stdint.h>
- Replace magic constant 128 with MAX_MAPCODE_RESULT_ASCII_LEN in encoderEngine
- Add regression tests for all fixed bugs in testBugFixes()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments