nightcode / jmilter

Java implementation of the Sendmail Milter protocol.
Apache License 2.0
12 stars 3 forks source link

Update MessageModificationServiceImpl.java #2

Closed tachtler closed 5 years ago

tachtler commented 5 years ago

BugFix: MessageModificationServiceImpl.replaceBody do not calculate the right size, if a body size is between 65536 and 131070.

The calculated length must always be lessened by the actual offset.

nightcode commented 5 years ago

The actual fix will be little different, but in any case thank you for your work and suggested patch.