Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imap: remove the only sscanf() call in the IMAP code + add strdup() check #11673

wants to merge 3 commits into from


Copy link

@bagder bagder commented Aug 14, 2023

  • sscanf has generally been a source of past problems
  • this improvement also verifies that the uid ends with ] which it did not previously
  • failing a strdup() should never be silently ignored.

@bagder bagder added the IMAP label Aug 14, 2023
lib/imap.c Fixed Show fixed Hide fixed
@bagder bagder closed this in 9176510 Aug 14, 2023
@bagder bagder deleted the bagder/imap-sscan-less branch August 14, 2023 16:07
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging this pull request may close these issues.

None yet

1 participant