Branch

  • Show log

    Commit

  • Hash : d68ea07b
    Author : Bruno Haible
    Date : 2025-02-14T11:47:48

    Fix a buffer overrun in the GB18030 converter (regression 2023-05-29).
    
    Reported by Nick Wellnhofer <wellnhofer@aevum.de>.
    
    * lib/gb18030_2005.h (gb18030_2005_wctomb): Return RET_TOOSMALL if there
    is not enough room for 4 bytes.