https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227605

            Bug ID: 227605
           Summary: [OCF] encrypt_multi/decrypt_multi process too many
                    data
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: valentin.ver...@stormshield.eu
 Attachment #192613 text/plain
         mime type:

Created attachment 192613
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192613&action=edit
Fix proposal

Hello,

encrypt_multi and decrypt_multi seems to process too many data when the
underlying buffer is larger than the data to process.

Steps to reproduce: use encrypt_multi/decrypt_multi into an IPSEC context (for
ciphering ESP). Decryption will erase the authentication data contained at the
end of the mbuf.

I attached a patch with the fixup I used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to