https://software.codidact.com/categories/38/tags/4987.rssNew Posts Tagged 'strcpy' - Software DevelopmentSoftware Development - Codidact2024-03-22T11:09:31Zhttps://software.codidact.com/posts/281518Is strcpy dangerous and what should be used instead?Lundinhttps://software.codidact.com/users/81762021-04-27T13:17:25Z2024-03-22T11:09:31Z<p>I heard rumours that the <code>strcpy</code> function is dangerous and shouldn't be used. Supposedly it can be exploited to create buffer overflows somehow.</p>
<p>And indeed when I compile my ...https://software.codidact.com/posts/285946stpecpy(): Design a better string copy function that truncatesalxhttps://software.codidact.com/users/539372022-02-12T23:52:35Z2022-12-10T22:14:28Z<p>I was directed a few days ago to a <a href="https://www.symas.com/post/the-sad-state-of-c-strings">post</a> about a string copy function, which IMO improves the commonly known string copy functi...