Skip to content
Snippets Groups Projects
Commit 57f2b99e authored by Michael Paquier's avatar Michael Paquier
Browse files

pg_sasl_prep: Fix one-off bug in string recomposition

parent c8e4929a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -468,7 +468,7 @@ pg_sasl_prepare(PG_FUNCTION_ARGS)
starterPos = 0;
sourceLength = decomp_size;
targetPos = 1;
starterCh = decomp_ptr[0];
starterCh = recomp_ptr[0] = decomp_ptr[0];
 
for (count = 1; count < decomp_size; count++)
{
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment