[PATCH] Fix bug when calling strncmp in check_authmethod_valid - Mailing list pgsql-hackers

From Jingxian Li
Subject [PATCH] Fix bug when calling strncmp in check_authmethod_valid
Date
Msg-id tencent_29731C7C7E6A2F9FB807C3A1DC3D81293C06@qq.com
Whole thread Raw
Responses Re: [PATCH] Fix bug when calling strncmp in check_authmethod_valid  (Richard Guo <guofenglinux@gmail.com>)
Re: [PATCH] Fix bug when calling strncmp in check_authmethod_valid  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Hi all,

Attached is a patch that fixes bug when calling strncmp function, in
which case the third argument (authmethod - strchr(authmethod, ' '))
may be negative, which is not as expected..


With Regards,
Jingxian Li.



Attachment

pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Re: using extended statistics to improve join estimates
Next
From: Alexander Lakhin
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands