Re: [exim] Bug in exim 4.90 postgresql

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Bug in exim 4.90 postgresql
On 23/12/17 10:22, James wrote:
> I have 3 times used the "Create a new Bugzilla account" and written to
> the admin.  Nothing back so here is my report:
>
>
> There is a bug in exim 4.90 postgresql, fix:
>
> --- ../original/src/lookups/pgsql.c    2017-12-12 22:14:38.000000000 +0000
> +++ src/lookups/pgsql.c    2017-12-22 19:31:06.621334570 +0000
> @@ -329,7 +329,7 @@
>      result = string_catn(result, US"\n", 1);
>
>    if (num_fields == 1)
> -    result = string_catn(NULL,
> +    result = string_catn(result,
>      US PQgetvalue(pg_result, i, 0), PQgetlength(pg_result, i, 0));
>    else
>      {


Do you have a testcase, or description of the effect?
--
Thanks,
Jeremy