Module Name: src Committed By: martin Date: Thu Jul 12 15:18:45 UTC 2018
Modified Files: src/usr.sbin/sysinst [netbsd-8]: util.c Log Message: Pull up following revision(s) (requested by kamil in ticket #900): usr.sbin/sysinst/util.c: revision 1.10,1.11 Enlarge the set_status[] array by a single element In the get_and_unpack_sets() function there is accessed the set_status[SET_GROUP_END] element in the array. The array is allocated on the stack with SET_GROUP_END elements. This means that it is 1 element too short. - Revert previous, fix iteration loops to be consistent: All sets that have an id >= SET_LAST have NULL name, so use that like the loop just below. To generate a diff of this commit: cvs rdiff -u -r1.7.8.2 -r1.7.8.3 src/usr.sbin/sysinst/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.