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

Correctness: Reject non-numeral netstring lengths in qmtpd and qmqpd #241

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

janicez
Copy link
Contributor

@janicez janicez commented Oct 20, 2022

This was discussed on IRC between myself and a few other people back in September, and I finally got around to doing it recently. Logs can be added to the ticket upon request.

Copy link
Member

@DerDakon DerDakon left a comment

Choose a reason for hiding this comment

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

Please add an entry to CHANGES.md. Otherwise fine.

…fted length to qmail-qmqpd or qmtpd and it would just work (as long as there was no integer wraparound) based off the ASCII value. This commit:

 * includes a check in the netstring parsing code in qmail-qmtpd and qmail-qmqpd that balks the program if the length field of a netstring is not a numeral, and
 * updates CHANGES.md to include the note about the change in netstring behavior
@DerDakon DerDakon merged commit 3752074 into notqmail:master Oct 23, 2022
@schmonz schmonz modified the milestones: 1.90, 1.09 Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants