• Show log

    Commit

  • Hash : 96b8b15a
    Author : Bruno Haible
    Date : 2025-01-04T15:19:46

    mbs_endswith: Fix abort in the case of incomplete characters.
    
    Reported by Paul Eggert.
    
    * lib/mbs_endswith.c: Don't include <stdlib.h>.
    (mbs_endswith): Instead of aborting, return false.
    * tests/test-mbs_endswith2.c (main): Test invalid and incomplete
    characters.