Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/gen



In article <20140908174838.GA25155%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> 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



Home | Main Index | Thread Index | Old Index