[exim-dev] [Bug 3111] New: regression in 2d75f09c2df079365b0…

Pàgina inicial
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 3111] New: regression in 2d75f09c2df079365b0fc2c9fb22a130c9267611
https://bugs.exim.org/show_bug.cgi?id=3111

            Bug ID: 3111
           Summary: regression in 2d75f09c2df079365b0fc2c9fb22a130c9267611
           Product: Exim
           Version: 4.99
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: DKIM
          Assignee: tom@???
          Reporter: exim@???
                CC: exim-dev@???

Created attachment 1492
  --> https://bugs.exim.org/attachment.cgi?id=1492&action=edit
patch to fix "comparison is always false due to limited range" error in
string.c

commit 2d75f09c2df079365b0fc2c9fb22a130c9267611
introduces a sign problem:

gcc-14 -Werror -Wall  -Wextra -Wimplicit-function-declaration
-Wimplicit-int -Wincompatible-pointer-types -Wno-parentheses
-Wno-dangling-else -Wno-unused-function -Wno-unused-result -Wno-address
-Wno-format -Wno-format-truncation -Wno-format-extra-args
-Wno-unused-but-set-variable -Wno-unused-variable -Wno-maybe-uninitialized
-Wno-misleading-indentation -Wno-sign-compare -Wno-old-style-declaration
-Wno-unused-parameter -Wno-empty-body -Wno-missing-field-initializers
-Wno-implicit-fallthrough string.c
string.c: In function ‘string_vformat_trc’:
string.c:1690:37: error: comparison is always false due to limited range
of data type [-Werror=type-limits]
 1690 |               if ( (*s < 32) || (*s > 127) )
      |                                     ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:836: string.o] Error 1

This is in the 'Z' case moved from pdkim-style "quoteprint" 
where the variable here called '*s' was an int (called 'c').

-- 
You are receiving this mail because:
You are on the CC list for the bug.


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/