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
|
@ -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