StackOverflow Questions for Tag: strncpy

Eden Sh
Eden Sh

Reputation: 27

Buffer of char* in c++ using strlen bug

Score: 0

Views: 95

Answers: 2

Read More
hari hara sankar
hari hara sankar

Reputation: 318

Confusion of memory in buffer overflow while using strncpy()?

Score: 2

Views: 211

Answers: 1

Read More
dems98
dems98

Reputation: 884

What is the best alternative to strncpy()?

Score: 15

Views: 41910

Answers: 6

Read More
Santosh Sahu
Santosh Sahu

Reputation: 2244

Stack-Based Overflow Error(strcpy and strncpy)

Score: 0

Views: 163

Answers: 0

Read More
Steve
Steve

Reputation: 87

Combine multiple boost::asio::const_buffer into a single buffer

Score: 1

Views: 1054

Answers: 1

Read More
AzerSD
AzerSD

Reputation: 168

strncpy making weird output

Score: 2

Views: 197

Answers: 2

Read More
Zaki
Zaki

Reputation: 107

Implementing a custom input function

Score: 1

Views: 476

Answers: 1

Read More
Huy Le
Huy Le

Reputation: 1738

C++ custom-written strncpy without padding all characters to null is it safe?

Score: 1

Views: 270

Answers: 1

Read More
Kyle C
Kyle C

Reputation: 43

Storing tokens from 1D char array to char** array

Score: 1

Views: 97

Answers: 4

Read More
Dr. Debasish Jana
Dr. Debasish Jana

Reputation: 7118

strlcpy in terms of strncpy on platforms that don't have strlcpy

Score: 1

Views: 482

Answers: 2

Read More
roboticsmick
roboticsmick

Reputation: 3

C: Update shared memory pthreads and using strncpy

Score: 0

Views: 178

Answers: 1

Read More
FinnnIT
FinnnIT

Reputation: 27

How to remove weird character error in C?

Score: 0

Views: 76

Answers: 1

Read More
Markovnikov
Markovnikov

Reputation: 41

C: Create own version of strncpy

Score: 1

Views: 4868

Answers: 3

Read More
terrylt1
terrylt1

Reputation: 67

Cumulative approach for finding longest common prefix using C not working

Score: 0

Views: 302

Answers: 1

Read More
windsound
windsound

Reputation: 666

Weird behavior with stack and heap while using strncpy

Score: 4

Views: 657

Answers: 3

Read More
Anonymous
Anonymous

Reputation: 871

Why are strlcpy and strlcat considered insecure?

Score: 87

Views: 71558

Answers: 8

Read More
user1840007
user1840007

Reputation: 675

strncpy doesn't always null-terminate

Score: 4

Views: 9239

Answers: 6

Read More
Narm
Narm

Reputation: 1

checking function of strncpy with assert in c language

Score: 0

Views: 141

Answers: 1

Read More
user15380805
user15380805

Reputation:

How can I put a user input value into strncpy?

Score: 0

Views: 602

Answers: 1

Read More
junto
junto

Reputation: 13

The loop of the strncpy function is not understood

Score: -1

Views: 133

Answers: 4

Read More
PreviousPage 2Next