Skip to content

Commit b99f412

Browse files
committed
Fixed bug when using Client token and results exceed MaxPageSize. Wound up in an endless loop because PossibleNextToken never cleared out.
1 parent 689b3fc commit b99f412

9 files changed

Lines changed: 13 additions & 10 deletions

File tree

Zephyr.Directory.Aws/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
1818
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
1919

20-
[assembly: AssemblyVersion("1.1.25049.0")]
21-
[assembly: AssemblyFileVersion("1.1.25049.0")]
20+
[assembly: AssemblyVersion("1.1.25055.0")]
21+
[assembly: AssemblyFileVersion("1.1.25055.0")]
2222

2323
// The following attributes are used to specify the signing key for the assembly,
2424
// if desired. See the Mono documentation for more information about signing.

Zephyr.Directory.Aws/cf-templates/cft-myriad-core-apigateway-only.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Resources:
235235
Outputs:
236236
Version:
237237
Description: Cloud Formation Template Version
238-
Value: 1.1.25049.0
238+
Value: 1.1.25055.0
239239

240240
StackName:
241241
Description: The name of this stack.

Zephyr.Directory.Aws/cf-templates/cft-myriad-core-lambda-only.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Resources:
9797
Outputs:
9898
Version:
9999
Description: Cloud Formation Template Version
100-
Value: 1.1.25049.0
100+
Value: 1.1.25055.0
101101

102102
StackName:
103103
Description: The name of this stack.

Zephyr.Directory.Aws/cf-templates/cft-myriad-core.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ Resources:
316316
Outputs:
317317
Version:
318318
Description: Cloud Formation Template Version
319-
Value: 1.1.25049.0
319+
Value: 1.1.25055.0
320320

321321
StackName:
322322
Description: The name of this stack.

Zephyr.Directory.Aws/cf-templates/cft-myriad-init.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Resources:
110110
Outputs:
111111
Version:
112112
Description: Cloud Formation Template Version
113-
Value: 1.1.25049.0
113+
Value: 1.1.25055.0
114114

115115
StackName:
116116
Description: The name of this stack.

Zephyr.Directory.Aws/cf-templates/cft_Net_core.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Resources:
403403
Outputs:
404404
Version:
405405
Description: Cloud Formation Template Version
406-
Value: 1.1.25049.0
406+
Value: 1.1.25055.0
407407

408408
StackName:
409409
Description: The name of this stack.

Zephyr.Directory.Aws/cf-templates/cft_Net_init.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Resources:
223223
Outputs:
224224
Version:
225225
Description: Cloud Formation Template Version
226-
Value: 1.1.25049.0
226+
Value: 1.1.25055.0
227227

228228
StackName:
229229
Description: The name of this stack.

Zephyr.Directory.Ldap/LdapServer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,10 @@ public LdapResponse Search(LdapRequest request, string searchBase, string search
496496
if(Token_present){
497497
continue_token = $"-0{Pick_up_Here}";
498498
PossibleNextToken = String.Concat((currentRecords+nextToken_client).ToString(), continue_token);
499+
} else {
500+
PossibleNextToken = null; // Search Is Complete.
499501
}
502+
500503
}
501504
}
502505
for(int index =0; index < results.Count; index++){

Zephyr.Directory.Test/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
1818
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
1919

20-
[assembly: AssemblyVersion("1.1.25049.0")]
21-
[assembly: AssemblyFileVersion("1.1.25049.0")]
20+
[assembly: AssemblyVersion("1.1.25055.0")]
21+
[assembly: AssemblyFileVersion("1.1.25055.0")]
2222

2323
// The following attributes are used to specify the signing key for the assembly,
2424
// if desired. See the Mono documentation for more information about signing.

0 commit comments

Comments
 (0)