[Secure Coding] master: Regenerate snippets (5b90f99)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Repository : http://git.fedorahosted.org/git/?p=secure-coding.git

On branch  : master

>---------------------------------------------------------------

commit 5b90f9975381095a48beab469167da3d870c39ab
Author: Florian Weimer <fweimer@xxxxxxxxxx>
Date:   Mon Sep 16 15:11:29 2013 +0200

    Regenerate snippets


>---------------------------------------------------------------

 .../C-String-Functions-strncat-as-strncpy.xml      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml b/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
index 0895eaf..1f5c8c6 100644
--- a/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
+++ b/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
@@ -4,5 +4,5 @@
 <!-- Automatically generated file.  Do not edit. -->
 <programlisting language="C">
 buf[0] = '\0';
-strncpy(buf, data, sizeof(buf) - 1);
+strncat(buf, data, sizeof(buf) - 1);
 </programlisting>

--
security mailing list
security@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/security





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Coolkey]

  Powered by Linux