aporeto-inc / trireme-lib

Simple, scalable and secure application segmentation
https://trireme.io
Apache License 2.0
300 stars 51 forks source link

New unit tests and fix possible buffer overflow #936

Open amitlimaye opened 4 years ago

amitlimaye commented 4 years ago

Description

Changes proposed in this pull request.

Test plan

Outline the test plan used to test this change before merging it.

Fixes #.

amitlimaye commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1520",
    "commit-sha": "305f7734f7ede35c7280ac1a49b98aee65de0e5e"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "936",
    "commit-sha": "aa53757dfccecd24a11e8762cb04085bb0dd937b"
  }
]
codecov[bot] commented 4 years ago

Codecov Report

Merging #936 into master will decrease coverage by <.01%. The diff coverage is 42.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #936      +/-   ##
==========================================
- Coverage   55.75%   55.74%   -0.01%     
==========================================
  Files         111      111              
  Lines       11163    11166       +3     
==========================================
+ Hits         6224     6225       +1     
- Misses       4342     4343       +1     
- Partials      597      598       +1
Impacted Files Coverage Δ
controller/pkg/packet/packet.go 51.74% <42.85%> (-0.2%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1572fe2...58d03d9. Read the comment docs.

amitlimaye commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1520",
    "commit-sha": "305f7734f7ede35c7280ac1a49b98aee65de0e5e"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "936",
    "commit-sha": "58d03d93d31dfdd8a9920d66ec6276fd7c6523fe"
  }
]