Skip to content

ntml_wb, fix buffer type - #12825

Closed
icing wants to merge 2 commits into
curl:masterfrom
icing:ntlm-wb-type-fix
Closed

icing wants to merge 2 commits into
curl:masterfrom
icing:ntlm-wb-type-fix

Conversation

@icing

@icing icing commented Jan 31, 2024 •

Copy link
Copy Markdown
Contributor

Follow-up to 8e9c304
Reported-by: tranzystorekk

Comment thread lib/curl_ntlm_wb.c Outdated
struct dynbuf b;
char *ptr = NULL;
usigned char buf[1024]
unsigned char buf[1024]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing semicolon at the end as well 😅

@bagder

bagder commented Jan 31, 2024

Copy link
Copy Markdown
Member

This mistake was not detected by CI because currently the configure script is broken and cannot enable NTLM_WB since the check requires a detected fork but that check has been removed.

A fix for that configure mistake exists in #12479 but we have held off on merging that on purpose since NTLM_WB is scheduled to get removed in June 2024.

Comment thread lib/curl_ntlm_wb.c Outdated
struct dynbuf b;
char *ptr = NULL;
usigned char buf[1024]
unsigned char buf[1024]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unsigned char buf[1024]
unsigned char buf[1024];

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you want it all!

@bagder bagder closed this in e75a48d Feb 1, 2024
@bagder bagder mentioned this pull request Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants