X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FPrevent-uninitialized-read-in-error-path-of-XDR-cont.patch;fp=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FPrevent-uninitialized-read-in-error-path-of-XDR-cont.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=e92218364491b1239a26f86df0b6f9b493a5c89a;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Prevent-uninitialized-read-in-error-path-of-XDR-cont.patch b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Prevent-uninitialized-read-in-error-path-of-XDR-cont.patch deleted file mode 100644 index e922183..0000000 --- a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Prevent-uninitialized-read-in-error-path-of-XDR-cont.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8a7fc8e280e31fd8c277adc4f74cc26c341a71b4 Mon Sep 17 00:00:00 2001 -From: Robbie Harwood -Date: Tue, 12 Sep 2017 12:40:27 -0400 -Subject: [PATCH] Prevent uninitialized read in error path of XDR contexts - -Signed-off-by: Robbie Harwood -Reviewed-by: Simo Sorce -Merges: #211 -(cherry picked from commit 8ba0f42f06bc7d0ed68cb2eb3ef2794fc860ac2d) ---- - proxy/src/client/gpm_common.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c -index c65c69d..d0f99d6 100644 ---- a/proxy/src/client/gpm_common.c -+++ b/proxy/src/client/gpm_common.c -@@ -656,8 +656,8 @@ int gpm_make_call(int proc, union gp_rpc_arg *arg, union gp_rpc_res *res) - { - struct gpm_ctx *gpmctx; - gp_rpc_msg msg; -- XDR xdr_call_ctx; -- XDR xdr_reply_ctx; -+ XDR xdr_call_ctx = {0}; -+ XDR xdr_reply_ctx = {0}; - char *send_buffer = NULL; - char *recv_buffer = NULL; - uint32_t send_length;