- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit45e7e8c
committed
Convert strncpy to strlcpy
We try to avoid using strncpy() due to the ease of which it canbe misused. Convert this callsite to use strlcpy() instead tomatch similar codepaths in this file.Suggested-by: Peter Eisentraut <peter@eisentraut.org>Discussion:https://postgr.es/m/2a796830-de2d-4030-b480-d673f6cc5d94@eisentraut.org1 parent2d6745a commit45e7e8c
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1664 | 1664 |
| |
1665 | 1665 |
| |
1666 | 1666 |
| |
1667 |
| - | |
1668 |
| - | |
| 1667 | + | |
1669 | 1668 |
| |
1670 | 1669 |
| |
1671 | 1670 |
| |
|
0 commit comments
Comments
(0)