Skip to content

Version 6.4.1 Beta 3: Bug fix, robustness improvements

Pre-release
Pre-release

Choose a tag to compare

@eyalroz eyalroz released this 09 Sep 20:06
· 0 commits to master since this release

Dear users: Your feedback from building and using the library in a wide variety of environments is what allows me to make the library more robust and portable with each release. Please email me or post an issue if you notice a build issue, bug or unexpected behavior.

Changes since v6.4.0:

Bug fixes

  • #239 Avoiding an out-of-bounds read and junk results with '%g', high precision setting, and argument with negative exponent.
  • #237 Avoiding an out-of-bounds read with '%I16'.
  • #230 Avoiding a likely out-of-bounds array access into the precomputed powers-of-10 array, when USE_DOUBLE_INTERNALLY is OFF.

Robustness imrpovements

  • #234 Support safe use of non-nul-terminated strings with specified precision
  • #232 Avoiding formally undefined behavior when specifying INT_MIN as a field width

Build configuration issues

  • #225 In the printf_config.cmake file, which gets used when we find_package(printf), a missing components check was added

Other changes

  • #238 Dropped the ADVANCE_IN_FORMAT_STRING() macro - it is basically redundant

Caveats

  • Still no special handling for denormals.