[exim-dev] [Bug 3108] exim SIGSEGV on TLS connections on lat…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Bugzilla
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 3108] exim SIGSEGV on TLS connections on latest OpenBSD/amd64 -current snaps
https://bugs.exim.org/show_bug.cgi?id=3108

Jeremy Harris <jgh146exb@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAIT_FIX_CONFIRMATION       |RESOLVED
         Resolution|---                         |FIXED


--- Comment #17 from Jeremy Harris <jgh146exb@???> ---
Thanks for the confirms; closing.


On the signed/unsigned char point - for a signed-char platform both the
conversion
of the reference char to the argument int type, and the conversion of the
test-pointer dereferenced value for the comparison, should follow the standard
type-promotion rules (*) - giving a (signed) int with a negative value for
chars
having the top bit set. The equality comparison then does the right thing.

For unsigned-char platforms the ints being compared happen to both be positive,
and it also works.

I think the extra cast suggested would have no effect.
Please correct me if needed.


*) convert undersized types to (signed) int if they will fit, else unsigned
int.

--
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/