commit 9915e371b196ef063ed0bfddd33e797cd03c61ea
Author: John Marino <[email protected]>
Date:   Sun Jun 19 09:39:34 2016 +0200

    mbsnrtowcs/wcsnrtombs: Fix EILSEQ handling
    
    Originally reported on FreeBSD (PR 209907) by Roel Standaert, RockinRoel
    noticed that DragonFly suffered the same bug.  When the title functions
    encounter a character that cannot be converted, they should change the
    src pointer to point to the character positioned immediately after the
    failed character, but no such change was performed.
    
    YellowRabbit improved on the FreeBSD patch addressing the bug with a
    new version that eliminates possible NULL pointer dereferences.
    
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2920>

Summary of changes:
 lib/libc/locale/ascii.c | 15 ++++++++++-----
 lib/libc/locale/none.c  |  1 +
 2 files changed, 11 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9915e371b196ef063ed0bfddd33e797cd03c61ea


-- 
DragonFly BSD source repository

Reply via email to