runtime icon indicating copy to clipboard operation
runtime copied to clipboard

fixing comment

Open shrutigarg opened this issue 10 years ago • 11 comments

check if we need to fix the comment https://github.com/shrutigarg/corefx/commit/f047a7d53ae699e51b8ee631e80d72cde4b6139b#commitcomment-16019127

shrutigarg avatar Feb 12 '16 10:02 shrutigarg

@bartonjs, this a "framing" that is required by MS-NNS data So it has to be at the beginning of the buffer. Note that output was allocated in the Encrypt call

vijaykota avatar Feb 12 '16 11:02 vijaykota

@vijaykota Ah, yes, I'd failed to notice that output wasn't a user-provided array. A comment reminding future readers/refactorers that offset and count apply to reading from buffer, and were inputs to the length of output, that output is a newly created array and thus these absolute indices are correct would be helpful.

Though perhaps significantly less of a run-on sentence than my statement here :).

bartonjs avatar Feb 12 '16 13:02 bartonjs

In securityStatusAdapterPal.Windows. Use the dictionary instead of struct array.

https://github.com/dotnet/corefx/pull/5772#discussion_r52742447

(fixed already)

shrutigarg avatar Feb 13 '16 02:02 shrutigarg

is notSet flag check needed? https://github.com/dotnet/corefx/pull/5772#discussion_r52743232

(fixed already)

shrutigarg avatar Feb 13 '16 02:02 shrutigarg

https://github.com/dotnet/corefx/pull/5772#discussion_r52743275 Need to throw more accurate exception in syn with other exception in code.

shrutigarg avatar Feb 13 '16 02:02 shrutigarg

fixed all the issued here and moved one (changing internalException to some other exception) to dotnet/runtime#16195 as this was present when windows code introduced.. since InternalException is being used at so many other place, we would have to look at other instances too/

shrutigarg avatar Feb 19 '16 12:02 shrutigarg

Reactivating this issue because this is still referenced from code: https://github.com/dotnet/corefx/blob/d0dc5fc099946adc1035b34a8b1f6042eddb0c75/src/System.Net.Security/src/System/Net/NegotiateStreamPal.Windows.cs#L315

CIPop avatar Apr 08 '16 20:04 CIPop

@CIPop we would have to remove the TODO from there as this has already been discussed and fixed. Looks like it remained there by mistake, will incorporate this in one of our next PR.

shrutigarg avatar Apr 11 '16 06:04 shrutigarg

this will be fixed in PR dotnet/corefx#7647

shrutigarg avatar Apr 11 '16 13:04 shrutigarg

dotnet/corefx#7647 has not been merged; reopening this issue until that happens.

ericeil avatar Apr 19 '16 22:04 ericeil

this got fixed and merged , closing.

shrutigarg avatar Apr 25 '16 08:04 shrutigarg