This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch tymux-10-quiet-head
in repository terminology.

View the commit online.

commit 32ecee9364c23d36964d8d32f20ac1acac7f92a3
Author: Boris Faure <[email protected]>
AuthorDate: Tue Nov 10 15:58:57 2026 +0000

    termptyesc: avoid shifting into the sign bit of an int
    
    Block insert codepoints set bit 31 with (1 << 31), which is undefined
    behaviour on a signed int. UBSan reports it since tytest_block_render_idle
    exercises this path, failing the clang-ubsan CI job.
---
 src/bin/termptyesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 0ba3f391..5c5ea066 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -6579,7 +6579,7 @@ termpty_handle_seq(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
                {
                   Eina_Unicode cp;
 
-                  cp = (1 << 31) | ((ex->id & 0x1fff) << 18) |
+                  cp = (1u << 31) | ((ex->id & 0x1fff) << 18) |
                     ((ex->x & 0x1ff) << 9) | (ex->y & 0x1ff);
                   ex->x++;
                   if (ex->x >= ex->w)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to