Merge pull request #1120 from cetic/pr-fix-cooja-packet-analyzer
Cooja: Clone packet data before modifying it in packet analyser
This commit is contained in:
commit
e731848624
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public abstract class PacketAnalyzer {
|
|||
|
||||
public Packet(byte[] data, int level) {
|
||||
this.level = level;
|
||||
this.data = data;
|
||||
this.data = data.clone();
|
||||
this.size = data.length;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue