mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00

Bug 1350097 points out a case where the assertion in cvt_f, added in https://bugzilla.mozilla.org/show_bug.cgi?id=1060419#c127, triggers. Before this addition, code calling this printf variant would end up just printing something invalid, as the truncated value would be emitted. This patch increases the buffer size to be sufficient for DBL_MAX. MozReview-Commit-ID: AVphURGa6jL --HG-- extra : rebase_source : c7a2dad8e496434a631441ccc25dfee2db1ea71a