]> mj.ucw.cz Git - libucw.git/commit
Unicode: Added reading of 32bit UTF-8 unicode values with protection against buffer...
authorPavel Charvat <pchar@ucw.cz>
Thu, 14 Dec 2017 09:08:00 +0000 (10:08 +0100)
committerPavel Charvat <pchar@ucw.cz>
Thu, 14 Dec 2017 09:08:00 +0000 (10:08 +0100)
commit445e507caadb330b5ad640b3c5a357e6326c7855
treec6eb959e5426286639a2f99ea87ccf0c99a738e8
parent4f0f8d5f917a142d36be34879e8fd3f18af16ad8
Unicode: Added reading of 32bit UTF-8 unicode values with protection against buffer overflow.

Until now safe reading was possible only in fastbufs, which are
in some cases inefficient to initialize.

I'm still not sure about this change -> added only for one of many similar
functions. It multiplies the size of already long source code.
ucw/unicode.h