Files
heimdal/kdc
Andrew Bartlett 8ed36cee5c kdc: Fix ‘header_key’ may be used uninitialized in this function
krb5tgs.c: In function ‘_kdc_tgs_rep’:
krb5tgs.c:1785:25: warning: ‘header_key’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1785 |       &tkey_check->key, &tkey_check->key, tgt, &kdc_issued, &mspac);
      |                         ^~~~~~~~~~~~~~~~
krb5tgs.c:2302:10: note: ‘header_key’ was declared here
 2302 |     Key *header_key;
      |          ^~~~~~~~~~

On Ubuntu 20.04 in a default Heimdal build with
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)

The compiler doesn't trust that *header_key = tkey; is always
executed in tgs_parse_request() for ret == 0.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2021-11-24 02:51:12 -05:00
..
2011-07-24 13:07:07 -07:00
2021-05-06 23:13:31 -05:00
2019-10-03 13:09:18 -05:00
2011-05-21 11:57:31 -07:00
2016-06-09 01:13:14 -04:00
2011-05-21 11:57:31 -07:00
2019-12-09 21:39:30 -06:00
2017-10-11 17:13:07 -05:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2019-12-04 21:34:44 -06:00