tools icon indicating copy to clipboard operation
tools copied to clipboard

Update-2 nfstest.c Enhance Security with strncpy()

Open Shivam7-1 opened this issue 1 year ago • 0 comments

Here in this PR replaces instances of strcpy() with strncpy() to mitigate the risk of buffer overflows. And this update will ensures safer handling of strings by limiting the number of copied characters and adding null-termination, enhancing the overall security and stability of the code.

Shivam7-1 avatar Dec 19 '24 10:12 Shivam7-1