SpiceQA
Questions Tags Users Badges

strncpy

11 Questions
Newest Active Unanswered Frequent
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_195134730
• asked Jul 8, 2022
3
3
76
strcpy strncpy c string
Confusion of memory in buffer overflow while using strncpy()?
user_183909260
• asked Jun 21, 2022
2
1
68
c-strings buffer-overflow strncpy c arrays
strncpy making weird output
user_122469610
• asked Feb 7, 2022
2
2
106
strncpy c algorithm string
How strcpy changes the value of string
user_108256610
• asked May 14, 2020
2
2
841
strcpy strncpy c string
gcc-8 Wstringop-truncation
Admin1
• asked Sep 10, 2018
3
1
6109
gcc8 strncpy gcc c
how to use strncpy correctly?
user_35125380
• asked Sep 6, 2018
3
3
8978
strcpy strncpy c
strncpy or strlcpy in my case
user_3588920
• asked Aug 8, 2011
24
6
36657
c-strings strncpy copy c
Why are strlcpy and strlcat considered insecure?
user_2564180
• asked Jan 22, 2010
84
8
66657
strlcpy strncpy c security
Why does strncpy not null terminate?
user_1583340
• asked Sep 21, 2009
89
11
110212
strncpy c
Why should you use strncpy instead of strcpy?
user_565550
• asked Aug 11, 2009
102
10
207975
strcpy buffer-overflow c89 strncpy c
  • 1 (current)
  • 2
  • NextNext
Hot Questions
Terms of service Privacy policy
Powered by Answer