freeradius-server/freeradius-server-radclient-init-error-buffer.patch
Adam Majer 5d3beec849 Accepting request 453646 from home:adamm:branches:network
- Merge changes from SLE to OpenSUSE (FATE#322416):
  * freeradius-server-radclient-init-error-buffer.patch - make sure
    we initialize error buffer. bsc#911886: radclient error free()
    invalid pointer
  * freeradius-server-opensslversion.patch: remove OpenSSL version
    check and assume we know what we are doing. (bnc#1013311)
  * merge .changes file, mostly.
- do not attempt to detect "vulnerable" OpenSSL versions. SUSE
  security fixes do not necessarily bump version numbers as
  does upstream OpenSSL (bnc#1021375)
- do not generate certificates in %post. End-user needs to do this
  manually.
- keep FreeTDS disabled on SLE12 - we never shipped it enabled
- require OpenSSL 1.0+
- use pkgconfig(systemd) instead of plain systemd as BuildRequires
- don't list manual pages as %doc

- Add upstream keyring
- 2 new modules: rlm_sql_freetds and rlm_eap_fast

OBS-URL: https://build.opensuse.org/request/show/453646
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=89
2017-02-06 10:58:11 +00:00

13 lines
434 B
Diff

Index: freeradius-server-3.0.3/src/main/radclient.c
===================================================================
--- freeradius-server-3.0.3.orig/src/main/radclient.c
+++ freeradius-server-3.0.3/src/main/radclient.c
@@ -1180,6 +1180,7 @@ int main(int argc, char **argv)
fr_perror("radclient");
return 1;
}
+ fr_strerror_printf(""); /* Initialize the error buffer */
fr_strerror(); /* Clear the error buffer */
/*