In article <20140908174838.ga25...@britannica.bec.de>, Joerg Sonnenberger <jo...@britannica.bec.de> wrote: >On Mon, Sep 08, 2014 at 01:35:01PM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By: christos >> Date: Mon Sep 8 17:35:01 UTC 2014 >> >> Modified Files: >> src/lib/libc/gen: vis.c >> >> Log Message: >> get rid of MB_STRZ as suggested by joerg. > >Thanks. Can the NULL pointer case actually happen? E.g. doesn't that hit >an assert anyway?
The assert was changed to include the 0 length case; before the code core-dumped; I added 2 tests for it. christos