In a previous SDL we introduced InjectionGuardConstants to protect from malicious values being injected into the SDK and causing memory overruns.
I found a place in QuickPulse not doing this check.
(For reference see, mseng bug 651018)
Part 2: Alex please review
QuickPulseServiceClient was retrieving an array of request headers but only using the First() value.
I didn't want to do a length check on an entire array if only the first value would be used.
I changed the implementation to only return the first element in an array.
Part 1: Cijo please review
In a previous SDL we introduced
InjectionGuardConstants
to protect from malicious values being injected into the SDK and causing memory overruns.I found a place in QuickPulse not doing this check.
(For reference see, mseng bug 651018)
Part 2: Alex please review
QuickPulseServiceClient
was retrieving an array of request headers but only using the First() value. I didn't want to do a length check on an entire array if only the first value would be used. I changed the implementation to only return the first element in an array.