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
..
2021-08-31 11:06:32 +00:00
2011-07-24 13:07:07 -07:00
2021-04-14 19:28:08 -05:00
2021-05-06 23:13:31 -05:00
2021-03-07 22:20:06 -06:00
2020-03-02 10:56:13 -06:00
2019-10-03 13:09:18 -05:00
2020-07-24 01:32:34 -04:00
2020-09-08 00:25:24 -05:00
2020-09-08 00:25:24 -05:00
2021-08-12 17:37:01 +10:00
2021-08-12 17:37:01 +10:00
2021-09-21 18:17:00 +10:00
2021-09-21 18:17:00 +10:00
2021-08-12 17:37:01 +10:00
2021-09-21 18:17:00 +10:00
2021-08-12 17:37:01 +10:00
2010-08-20 13:06:54 -04:00
2019-05-30 20:10:25 -04:00
2013-10-15 12:40:39 +02:00
2013-10-15 12:40:39 +02:00
2010-08-20 13:06:54 -04:00
2011-05-21 11:57:31 -07:00
2020-07-24 01:32:34 -04:00
2021-06-29 14:52:07 -05:00
2021-06-29 14:52:07 -05:00
2020-09-08 00:25:24 -05:00
2021-08-12 17:37:01 +10:00
2012-02-20 19:45:41 +00:00
2016-06-09 01:13:14 -04:00
2010-08-20 13:06:54 -04:00
2019-09-04 18:00:15 -04:00
2021-08-12 17:37:01 +10:00
2021-10-11 13:58:15 -05:00
2021-11-24 02:51:12 -05:00
2010-08-20 13:06:54 -04:00
2011-05-21 11:57:31 -07:00
2018-12-30 15:39:49 -06:00
2021-03-07 22:20:06 -06:00
2019-12-11 19:34:36 -06:00
2010-08-20 13:06:54 -04:00
2019-07-09 13:17:06 -05:00
2019-12-09 21:39:30 -06:00
2021-08-31 11:00:13 +00:00
2021-09-23 17:41:43 +10:00
2017-10-11 17:13:07 -05:00
2021-08-12 17:37:01 +10:00
2021-08-27 15:20:07 +10:00
2016-04-17 17:10:08 -05:00
2021-10-16 12:32:04 +11:00
2021-06-21 23:38:16 -05:00
2008-09-13 09:21:03 +00:00
2019-10-21 13:43:01 +01:00
2020-09-08 00:25:24 -05:00
2010-08-20 13:06:54 -04:00
2011-05-21 11:57:31 -07:00
2013-06-28 08:40:49 +02:00
2020-09-08 00:25:24 -05:00
2021-03-07 22:20:06 -06:00
2020-09-08 00:25:24 -05:00
2019-12-04 21:34:44 -06:00
2020-03-02 10:56:13 -06:00
2019-12-11 19:34:36 -06:00
2021-11-18 18:52:54 -06:00
2021-10-11 13:58:15 -05:00