Incorrect orderNumber in SendChunkedContent
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Open src/BinSkim.Sdk/CompilerDataLogger.cs and inspect SendChunkedContent, especially how orderNumber is calculated from the partition loop. Reproduce the case where totalNumber or size is 2 and verify that the generated order numbers are sequential partition numbers, ending with 2 rather than 8193.
Written by the indexing model from the issue text.
Description
In src/BinSkim.Sdk/CompilerDataLogger.cs, orderNumber in SendChunkedContent should be based on number of partitions rather than i which is based on size. For example, if totalNumber or size is equal to 2, the two orderNumber values will be 1 and 8193. The second orderNumber should be 2.
One possible fix is something like { "orderNumber", (i /s_chunkSize + 1).ToString() },
- Dominant language
- C#
- Stars
- 860
- Forks
- 178
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 11
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/binskim
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
All issues in microsoft/binskim
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·