Re: [dev] [st] [PATCH] Avoid buffer overflows in the case of key-mapped strings.

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Tue, 1 Oct 2013 23:44:00 +0200

> I was thinking the same until I checked back on the ISO C11 specification and - there's no strnlen function :D

Yes, it is true, but take a look to strnlen(3):

     The strlen() and strnlen() functions conform to IEEE Std 1003.1-2008
     (``POSIX.1'').

;).

-- 
Roberto E. Vargas Caballero
----------------------------
k0ga_AT_shike2.com
http://www.shike2.com
Received on Tue Oct 01 2013 - 23:44:00 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 01 2013 - 23:48:13 CEST