Date: Tuesday, June 26, 2007 @ 15:35:00 Author: dan Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: alpm.c (1.128 -> 1.129) Add fix for config parsing issue in case of another pacman 3.0.X release --------+ alpm.c | 1 + 1 file changed, 1 insertion(+) Index: pacman-lib/lib/libalpm/alpm.c diff -u pacman-lib/lib/libalpm/alpm.c:1.128 pacman-lib/lib/libalpm/alpm.c:1.129 --- pacman-lib/lib/libalpm/alpm.c:1.128 Tue Apr 3 23:59:36 2007 +++ pacman-lib/lib/libalpm/alpm.c Tue Jun 26 15:35:00 2007 @@ -940,6 +940,7 @@ } _alpm_strtrim(key); strncpy(origkey, key, min(255, strlen(key))); + origkey[min(255, strlen(key))] = '\0'; key = _alpm_strtoupper(key); if(!strlen(section) && strcmp(key, "INCLUDE")) { RET_ERR(PM_ERR_CONF_DIRECTIVE_OUTSIDE_SECTION, -1);