SHA256
8
0
forked from pool/libotr
Files
libotr/libotr-test-uninitialized.patch
Adam Majer 4bc4244d12 Accepting request 638817 from home:Andreas_Schwab:Factory
- libotr-test-uninitialized.patch: Fix use of uninitialized memory in
  testsuite
- Don't disable testsuite on ppc

OBS-URL: https://build.opensuse.org/request/show/638817
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libotr?expand=0&rev=24
2018-09-27 15:05:10 +00:00

13 lines
399 B
Diff

Index: libotr-4.1.1/tests/unit/test_auth.c
===================================================================
--- libotr-4.1.1.orig/tests/unit/test_auth.c
+++ libotr-4.1.1/tests/unit/test_auth.c
@@ -67,6 +67,7 @@ static void test_auth_clear(void)
OtrlAuthInfo *auth = &ctx.auth;
/* API call. */
+ otrl_auth_new(&ctx);
otrl_auth_clear(auth);
ok(auth->authstate == OTRL_AUTHSTATE_NONE &&