Re: [hackers] [st][PATCH] fix pointer to one before object UB

From: Guilherme Janczak <guilherme.janczak_AT_yandex.com>
Date: Wed, 5 May 2021 22:57:07 +0000

On Wed, May 05, 2021 at 09:34:15PM +0000, Guilherme Janczak wrote:
> The expression "s + strlen(s) - 1" can create a pointer to one before
> *s if strlen(s) is 0.
> ...

A heads up, this is actually a patch to [sic] not [st], I managed
to get the subject wrong.
Received on Thu May 06 2021 - 00:57:07 CEST

This archive was generated by hypermail 2.3.0 : Thu May 06 2021 - 01:00:38 CEST