From: Peter Howkins Date: Thu, 26 Apr 2018 00:50:33 +0000 (+0100) Subject: dtappbuilder: Fix for very wrong sized buffer X-Git-Tag: 2.2.4a~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73dafa91e7ab86e80b425b4160981029c35752c6;p=oweals%2Fcde.git dtappbuilder: Fix for very wrong sized buffer --- diff --git a/cde/programs/dtappbuilder/src/abmf/obj_names.c b/cde/programs/dtappbuilder/src/abmf/obj_names.c index 931f1445..0c867f85 100644 --- a/cde/programs/dtappbuilder/src/abmf/obj_names.c +++ b/cde/programs/dtappbuilder/src/abmf/obj_names.c @@ -854,7 +854,7 @@ STRING abmfP_get_widget_name_for_res_file(ABObj obj) { static char name[MAX_NAME_SIZE]; - char nameTemp[sizeof(MAX_NAME_SIZE)]; + char nameTemp[sizeof(name)]; *name = 0; assert(abmfP_parent(obj) != NULL);