SpiceQA
Questions
Tags
Users
Badges
strncpy
11 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why does strncpy() produce garbage when the dest is smaller than the src but large enough to fit the wanted substring of src?
user_19513473
0
•
asked Jul 8, 2022
3
3
76
strcpy
strncpy
c
string
Confusion of memory in buffer overflow while using strncpy()?
user_18390926
0
•
asked Jun 21, 2022
2
1
68
c-strings
buffer-overflow
strncpy
c
arrays
strncpy making weird output
user_12246961
0
•
asked Feb 7, 2022
2
2
106
strncpy
c
algorithm
string
How strcpy changes the value of string
user_10825661
0
•
asked May 14, 2020
2
2
841
strcpy
strncpy
c
string
gcc-8 Wstringop-truncation
Admin
1
•
asked Sep 10, 2018
3
1
6109
gcc8
strncpy
gcc
c
how to use strncpy correctly?
user_3512538
0
•
asked Sep 6, 2018
3
3
8978
strcpy
strncpy
c
strncpy or strlcpy in my case
user_358892
0
•
asked Aug 8, 2011
24
6
36657
c-strings
strncpy
copy
c
Why are strlcpy and strlcat considered insecure?
user_256418
0
•
asked Jan 22, 2010
84
8
66657
strlcpy
strncpy
c
security
Why does strncpy not null terminate?
user_158334
0
•
asked Sep 21, 2009
89
11
110212
strncpy
c
Why should you use strncpy instead of strcpy?
user_56555
0
•
asked Aug 11, 2009
102
10
207975
strcpy
buffer-overflow
c89
strncpy
c
1
(current)
2
Next
Next
Hot Questions