Skip to content

Commit

Permalink
Security: Fixes ServiceInterop.dll to be BinSkim compliant by adding …
Browse files Browse the repository at this point in the history
…/guard /Qspectre flags (#2710)

* Version bump

* dependency bump

* property rename

* test
  • Loading branch information
ealsur authored Sep 8, 2021
1 parent 70ec89c commit 090af9c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ClientOfficialVersion>3.20.1</ClientOfficialVersion>
<ClientPreviewVersion>3.20.1</ClientPreviewVersion>
<ClientPreviewSuffixVersion>preview</ClientPreviewSuffixVersion>
<DirectVersion>3.21.0</DirectVersion>
<DirectVersion>3.21.1</DirectVersion>
<EncryptionVersion>1.0.0-previewV16</EncryptionVersion>
<HybridRowVersion>1.1.0-preview3</HybridRowVersion>
<AboveDirBuildProps>$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))</AboveDirBuildProps>
Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<PackageReference Include="Azure.Core" Version="1.3.0" />

<!--Direct Dependencies-->
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />

<!--HybridRow Dependencies-->
<PackageReference Include="System.Memory" Version="4.5.4" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ internal static (SystemInfo cpuInfo, SystemInfo memoryInfo) RecordSystemUsage(Sy
cpuHistogram.RecordValue((long)(cpuValue * ClientTelemetryOptions.HistogramPrecisionFactor));
}

long? memoryLoad = systemUsage.MemoryUsage;
long? memoryLoad = systemUsage.MemoryAvailable;
if (memoryLoad.HasValue)
{
memoryHistogram.RecordValue(memoryLoad.Value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void ProjectPackageDependenciesTest()
{ "System.Numerics.Vectors", new Version(4, 5, 0) },
{ "Newtonsoft.Json", new Version(10, 0, 2) },
{ "Microsoft.Bcl.AsyncInterfaces", new Version(1, 0, 0) },
{ "System.Configuration.ConfigurationManager", new Version(4, 5, 0) },
{ "System.Configuration.ConfigurationManager", new Version(4, 7, 0) },
{ "System.Memory", new Version(4, 5, 4) },
{ "System.Buffers", new Version(4, 5, 1) },
{ "System.Runtime.CompilerServices.Unsafe", new Version(4, 5, 3) },
Expand Down

0 comments on commit 090af9c

Please sign in to comment.