forked from elastic/go-libaudit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert change to Reassembler.Push from elastic#116 (elastic#122)
Reassembler.Push has always made a copy of the provided byte slice. It elastic#116 it was modified to not copy the slice. But this was a breaking change to its behavior and causes bugs for existing users. The typical use of this function is to parse data from AuditClient.Receive which explicitly documents that caller must make a copy of the data if they are going to retain it beyond the next Receive call. Relates elastic#116
- Loading branch information
1 parent
2f073b9
commit accf9b4
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters