Commit 569ae3a
authored
Correct JacksonEvent.merge() null-key handling and close InputSt… (opensearch-project#6775)
Fix JacksonEvent.merge() null-key bug and InputStream leak
Harden XML parser in LastReleasedVersionProvider against XXE attacks.
Signed-off-by: Siqi Ding <dingdd@amazon.com>1 parent 8ea59d9 commit 569ae3a
3 files changed
Lines changed: 20 additions & 6 deletions
File tree
- buildSrc/src/main/java/org/opensearch/dataprepper/gradle/compatibility
- data-prepper-api/src
- main/java/org/opensearch/dataprepper/model/event
- test/java/org/opensearch/dataprepper/model/event
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
486 | | - | |
| 484 | + | |
| 485 | + | |
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
720 | 731 | | |
721 | 732 | | |
722 | 733 | | |
| |||
0 commit comments