Re: [PATCH][BUG FIX] Pointer arithmetic with NULL

2019-11-22 Thread Tomas Vondra
On Fri, Nov 22, 2019 at 05:19:11PM +, Ranier Vilela wrote: Hi, Pointer addition with NULL, is technically undefined behavior. Best regards. Ranier Vilela --- \dll\postgresql-12.0\a\backend\access\transam\xlog.cMon Sep 30 17:06:55 2019 +++ xlog.c Fri Nov 22 13:57:17 2019 @@ -18

[PATCH][BUG FIX] Pointer arithmetic with NULL

2019-11-22 Thread Ranier Vilela
Hi, Pointer addition with NULL, is technically undefined behavior. Best regards. Ranier Vilela --- \dll\postgresql-12.0\a\backend\access\transam\xlog.cMon Sep 30 17:06:55 2019 +++ xlog.c Fri Nov 22 13:57:17 2019 @@ -1861,7 +1861,7 @@ { Assert(((XLogPageHeader