Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
2d78a1c6
Commit
2d78a1c6
authored
Jul 12, 2019
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
Jul 12, 2019
Browse files
Merge "Fix RST rendering problem" into integration
parents
274e8714
9f0a0bbd
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/process/coding-guidelines.rst
View file @
2d78a1c6
...
@@ -272,15 +272,15 @@ used (Banned) or are discouraged from use and must be used with care (Caution).
...
@@ -272,15 +272,15 @@ used (Banned) or are discouraged from use and must be used with care (Caution).
+------------------------+-----------+--------------------------------------+
+------------------------+-----------+--------------------------------------+
| libc function | Status | Comments |
| libc function | Status | Comments |
+========================+===========+======================================+
+========================+===========+======================================+
| ``strcpy, wcscpy``
| Banned | use strlcpy instead |
| ``strcpy, wcscpy``
,
| Banned | use strlcpy instead |
| ``strncpy`` | | |
| ``strncpy`` | | |
+------------------------+-----------+--------------------------------------+
+------------------------+-----------+--------------------------------------+
| ``strcat, wcscat``
| Banned | use strlcat instead |
| ``strcat, wcscat``
,
| Banned | use strlcat instead |
| ``strncat`` | | |
| ``strncat`` | | |
+-----------------------
+-----------+--------------------------------------+
+-----------------------
-
+-----------+--------------------------------------+
| ``sprintf, vsprintf`` | Banned | use snprintf, vsnprintf |
| ``sprintf, vsprintf`` | Banned | use snprintf, vsnprintf |
| | | instead |
| | | instead |
+----------------------
-+-----------+--------------------------------------+
+----------------------
-
-+-----------+--------------------------------------+
| ``snprintf`` | Caution | ensure result fits in buffer |
| ``snprintf`` | Caution | ensure result fits in buffer |
| | | i.e : snprintf(buf,size...) < size |
| | | i.e : snprintf(buf,size...) < size |
+------------------------+-----------+--------------------------------------+
+------------------------+-----------+--------------------------------------+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment