[Commits] [SCM] claws branch, master, updated. 3.17.0-46-g1c069e3

Andrej Kacian ticho at claws-mail.org
Fri Sep 7 08:35:31 CEST 2018


On Fri, 7 Sep 2018 08:18:57 +0200
Andrej Kacian wrote:

> > > +		debug_print("Could not find a NULL byte in the decrypted
> > > password.\n");
> > > +		valid_utf8 = FALSE;
> > > +	} else {
> > > +		/* There is a NULL byte, we can rely on strlen() returning    
> > 
> > I find this “NULL byte” peculiar: NULL, even being 0 most of the time, is a
> > pointer and probably never byte sized ;-) maybe you wanted to mean NUL?  
> 
> Wikipedia disagrees - the full name is "null character", with "NUL"
> being an abbreviation, similar to CR or LF. :)
> https://en.wikipedia.org/wiki/Null_character

You are right about the pointer being of different size than a byte
(sometimes), for a funny example see
https://git.claws-mail.org/?p=claws.git;a=commitdiff;h=d20742eff

Regards,
-- 
Andrej


More information about the Commits mailing list