diff --git a/docs/process/coding-guidelines.rst b/docs/process/coding-guidelines.rst index 093d66b..a53da77 100644 --- a/docs/process/coding-guidelines.rst +++ b/docs/process/coding-guidelines.rst @@ -272,15 +272,15 @@ +------------------------+-----------+--------------------------------------+ | libc function | Status | Comments | +========================+===========+======================================+ -| ``strcpy, wcscpy`` | Banned | use strlcpy instead | +| ``strcpy, wcscpy``, | Banned | use strlcpy instead | | ``strncpy`` | | | +------------------------+-----------+--------------------------------------+ -| ``strcat, wcscat`` | Banned | use strlcat instead | +| ``strcat, wcscat``, | Banned | use strlcat instead | | ``strncat`` | | | -+----------------------- +-----------+--------------------------------------+ ++------------------------+-----------+--------------------------------------+ | ``sprintf, vsprintf`` | Banned | use snprintf, vsnprintf | | | | instead | -+---------------------- -+-----------+--------------------------------------+ ++------------------------+-----------+--------------------------------------+ | ``snprintf`` | Caution | ensure result fits in buffer | | | | i.e : snprintf(buf,size...) < size | +------------------------+-----------+--------------------------------------+