BUG #18889: /src/backend/utils/adt/network.c condition is always false

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: dan-eli(at)mail(dot)ru
Subject: BUG #18889: /src/backend/utils/adt/network.c condition is always false
Date: 2025-04-10 16:41:51
Message-ID: 18889-73d4f19e953a629e@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18889
Logged by: Daniel Elishakov
Email address: dan-eli(at)mail(dot)ru
PostgreSQL version: 17.4
Operating system: Ubuntu 20.04
Description:

On line 282 there is a check of nb < 0, which is always false, so i think it
is better to be replaced with 'Assert(nb > 0);'

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2025-04-10 16:44:55 BUG #18890: /src/timezone/localtime.c condition always false
Previous Message PG Bug reporting form 2025-04-10 16:39:34 BUG #18888: /src/interfaces/ecpg/preproc/descriptor.c possible NULL dereference