Skip to content

strdup: remove the odd strlen check#5697

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/strdup-remove-strlen-check
Closed

strdup: remove the odd strlen check#5697
bagder wants to merge 1 commit into
masterfrom
bagder/strdup-remove-strlen-check

Conversation

@bagder

@bagder bagder commented Jul 17, 2020

Copy link
Copy Markdown
Member

It confuses code analyzers with its use of -1 for unsigned value. Also,
a check that's not normally used in strdup() code - and not necessary.

It confuses code analyzers with its use of -1 for unsigned value. Also,
a check that's not normally used in strdup() code - and not necessary.
@bagder bagder added the tidy-up label Jul 17, 2020
@bagder bagder closed this in 3c4c4ec Jul 18, 2020
@bagder
bagder deleted the bagder/strdup-remove-strlen-check branch July 18, 2020 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant