From c94cc4f7d3afe3177a8af8244246633c2540d24c Mon Sep 17 00:00:00 2001 From: Joseph <119084558+DerjenigeUberMensch@users.noreply.github.com> Date: Thu, 11 Jul 2024 20:49:58 +0000 Subject: [PATCH] Commented out debug info --- x.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x.c b/x.c index cbc0de9..4290973 100644 --- a/x.c +++ b/x.c @@ -27,6 +27,8 @@ getnamefromreply(XCBWindowProperty *namerep) char *nstr = NULL; if(namerep && (namerep->type == XCB_ATOM_STRING || namerep->type == netatom[NetUtf8String])) { + /* debug against stack smashing */ + /* DEBUG("Length: [%u]", namerep->length); DEBUG("Type: [%u]", namerep->type); DEBUG("Format: [%u]", namerep->format); @@ -34,6 +36,7 @@ getnamefromreply(XCBWindowProperty *namerep) DEBUG("VALENGTH:[%u]", namerep->value_len); DEBUG("BytesAft:[%u]", namerep->bytes_after); DEBUG("Resptype:[%u]", namerep->response_type); + */ uint32_t offset = 0; XCBGetPropertyValueSize(namerep, &offset);