00bea41dcb6c1a6a1822bf798d489fbce8515571

The code was generating a char ** of string representations of the ks_tuple() array but it was not using it. We modify the code to: 1. extend the array returned by ks_tuple2str() to include enough space for the trailing NULL and ensure that there is a NULL at the end, 2. not free the array before exiting ks_tuple2str() as we intend to use it in the caller, 3. re-organise the pointers in hdb_generate_key_set() to make it more clear how we are to free things that have been allocated. 4. free the char ** given us by ks_tuple2str() if it has been allocated. Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Heimdal is a Kerberos 5 implementation. For information how to install see <http://www.h5l.org/compile.html>. There are briefer man pages for most of the commands. Bug reports and bugs are appreciated, see more under Bug reports in the manual on how we prefer them: <heimdal-bugs@h5l.org>. For more information see the web-page at <http://www.h5l.org/> or the mailing lists: heimdal-announce@sics.se low-volume announcement heimdal-discuss@sics.se high-volume discussion send a mail to heimdal-announce-request@sics.se and heimdal-discuss-request@sics.se respectively to subscribe.
Description
Languages
C
92.1%
Roff
2.8%
Shell
2.3%
Makefile
0.7%
M4
0.5%
Other
1.4%