diff --git a/swad_changelog.h b/swad_changelog.h index bd3a9e93a..734ad374e 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -189,13 +189,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.111.6 (2016-12-28)" +#define Log_PLATFORM_VERSION "SWAD 16.111.7 (2016-12-28)" #define CSS_FILE "swad16.111.5.css" #define JS_FILE "swad16.101.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.111.7: Dec 28, 2016 Fixed minor bug in groups, reported by Coverity. (211114 lines) Version 16.111.6: Dec 28, 2016 Fixed bug in assigments, reported by Coverity. (211109 lines) Version 16.111.5: Dec 28, 2016 Changes in CSS related to tabs. (211084 lines) Version 16.111.4: Dec 28, 2016 Fixed bug in file browser. (211336 lines) diff --git a/swad_group.c b/swad_group.c index 6e7156ddc..dc8812bd7 100644 --- a/swad_group.c +++ b/swad_group.c @@ -527,6 +527,8 @@ void Grp_ChangeMyGrps (void) Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS); /***** Get the group codes which I want to join to *****/ + LstGrpsIWant.NumGrps = 0; // Initialized to avoid bug reported by Coverity + LstGrpsIWant.GrpCod = NULL; // Initialized to avoid bug reported by Coverity Grp_GetLstCodsGrpWanted (&LstGrpsIWant); /***** A student can not be enrolled in more than one group @@ -575,6 +577,8 @@ void Grp_ChangeOtherUsrGrps (void) Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS); /***** Get the list of groups to which register this user *****/ + LstGrpsUsrWants.NumGrps = 0; // Initialized to avoid bug reported by Coverity + LstGrpsUsrWants.GrpCod = NULL; // Initialized to avoid bug reported by Coverity Grp_GetLstCodsGrpWanted (&LstGrpsUsrWants); /***** A student can not be enrolled in more than one group