• Noah Misch's avatar
    Check DCH_MAX_ITEM_SIZ limits with <=, not <. · 237795a7
    Noah Misch authored
    We reserve space for the full amount, not one less.  The affected checks
    deal with localized month and day names.  Today's DCH_MAX_ITEM_SIZ value
    would suffice for a 60-byte day name, while the longest known is the
    49-byte mn_CN.utf-8 word for "Saturday."  Thus, the upshot of this
    change is merely to avoid misdirecting future readers of the code; users
    are not expected to see errors either way.
    237795a7
formatting.c 132 KB