Skip to content

Commit b906439

Browse files
committed
Merge pull request #908 from llogiq/master
Update 0840-no-panic-in-c-string.md
2 parents 8ce380a + 9907335 commit b906439

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

text/0840-no-panic-in-c-string.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ reason for that exists; composition is preferred to adding function variants.
8585
Longer function names, together with a less convenient return value, may deter
8686
people from using the safer functions.
8787

88+
The panicky functions could also be renamed to `unpack_slice` and `unpack_vec`,
89+
respectively, to highlight their conceptual proximity to `unpack`.
90+
8891
If the panicky behavior is preserved, plentiful possibilities for DoS attacks
8992
and other unforeseen failures in the field may be introduced by code oblivious
9093
to the input constraints.

0 commit comments

Comments
 (0)