aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-22:28/heimdal.patch
blob: 9480536044dcc73082718929194a6168500e90e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- crypto/heimdal/lib/asn1/gen_free.c.orig
+++ crypto/heimdal/lib/asn1/gen_free.c
@@ -61,13 +61,6 @@
     case TNull:
     case TGeneralizedTime:
     case TUTCTime:
-        /*
-         * This doesn't do much, but it leaves zeros where garbage might
-         * otherwise have been found.  Gets us closer to having the equivalent
-         * of a memset()-to-zero data structure after calling the free
-         * functions.
-         */
-        fprintf(codefile, "*%s = 0;\n", name);
 	break;
     case TBitString:
 	if (ASN1_TAILQ_EMPTY(t->members))