Re: [PATCH] cygheap_pwdgrp: Handle invalid db_* entries correctly

2020-04-17 Thread Corinna Vinschen
On Apr 16 23:09, David Macek via Cygwin-patches wrote: > If the first scheme in db_* was invalid, the code would think there > were no schemes specified and replace the second scheme with > NSS_SCHEME_DESC. > > Signed-off-by: David Macek > --- > winsup/cygwin/uinfo.cc | 5 - > 1 file

[PATCH] cygheap_pwdgrp: Handle invalid db_* entries correctly

2020-04-16 Thread David Macek via Cygwin-patches
If the first scheme in db_* was invalid, the code would think there were no schemes specified and replace the second scheme with NSS_SCHEME_DESC. Signed-off-by: David Macek --- winsup/cygwin/uinfo.cc | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/uinfo.cc