Changeset: 4972c186e9c6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4972c186e9c6
Modified Files:
        common/utils/muuid.c
Branch: Jan2014
Log Message:

Added missing argument.


diffs (12 lines):

diff --git a/common/utils/muuid.c b/common/utils/muuid.c
--- a/common/utils/muuid.c
+++ b/common/utils/muuid.c
@@ -52,7 +52,7 @@ generateUUID(void)
 
        /* generate something like this:
         * cefa7a9c-1dd2-11b2-8350-880020adbeef ("%08x-%04x-%04x-%04x-%012x") */
-       snprintf(out, "%04x%04x-%04x-%04x-%04x-%04x%04x%04x",
+       snprintf(out, sizeof(out), "%04x%04x-%04x-%04x-%04x-%04x%04x%04x",
                 rand() % 65536, rand() % 65536,
                 rand() % 65536, rand() % 65536,
                 rand() % 65536, rand() % 65536,
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to