Ei kuvausta

001-fix-build.patch 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. diff -u --recursive krb5-1.13.1-vanilla/src/lib/krad/packet.c krb5-1.13.1/src/lib/krad/packet.c
  2. --- krb5-1.13.1-vanilla/src/lib/krad/packet.c 2015-02-22 10:08:38.213087138 -0500
  3. +++ krb5-1.13.1/src/lib/krad/packet.c 2015-02-22 10:13:25.223709951 -0500
  4. @@ -253,7 +253,7 @@
  5. {
  6. krb5_error_code retval;
  7. krad_packet *pkt;
  8. - uchar id;
  9. + uchar id = 0;
  10. size_t attrset_len;
  11. pkt = packet_new();
  12. diff -u --recursive krb5-1.13.1-vanilla/src/lib/krb5/ccache/cc_file.c krb5-1.13.1/src/lib/krb5/ccache/cc_file.c
  13. --- krb5-1.13.1-vanilla/src/lib/krb5/ccache/cc_file.c 2015-02-22 10:08:38.211087133 -0500
  14. +++ krb5-1.13.1/src/lib/krb5/ccache/cc_file.c 2015-02-22 10:14:15.410819464 -0500
  15. @@ -401,7 +401,7 @@
  16. {
  17. krb5_error_code ret;
  18. struct k5buf buf;
  19. - size_t maxsize;
  20. + size_t maxsize = 0;
  21. *princ = NULL;
  22. k5_cc_mutex_assert_locked(context, &((fcc_data *)id->data)->lock);
  23. @@ -1088,7 +1088,7 @@
  24. krb5_fcc_cursor *fcursor = *cursor;
  25. fcc_data *data = id->data;
  26. struct k5buf buf;
  27. - size_t maxsize;
  28. + size_t maxsize = 0;
  29. memset(creds, 0, sizeof(*creds));
  30. k5_cc_mutex_lock(context, &data->lock);
  31. diff -u --recursive krb5-1.13.1-vanilla/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c krb5-1.13.1/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
  32. --- krb5-1.13.1-vanilla/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c 2015-02-22 10:08:38.190087088 -0500
  33. +++ krb5-1.13.1/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c 2015-02-22 10:17:37.981263250 -0500
  34. @@ -3593,7 +3593,7 @@
  35. {
  36. CK_ULONG i, r;
  37. unsigned char *cp;
  38. - size_t label_len;
  39. + size_t label_len = 0;
  40. CK_ULONG count = 0;
  41. CK_SLOT_ID_PTR slotlist;
  42. CK_TOKEN_INFO tinfo;