Commit adecb17
authored
### Rationale for this change
The IPC file fuzzer can remove batches from the IPC file footer while the batches do exist physically in the embedded IPC stream.
This causes problem in differential fuzzing, because comparing the results of the IPC stream reader against the IPC file reader then fails.
This issue was found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/503357759
### What changes are included in this PR?
Skip differential fuzzing against the IPC stream reader if the number of batches read from the IPC file footer is not equal.
### Are these changes tested?
Yes, by existing fuzz regression file.
### Are there any user-facing changes?
No.
* GitHub Issue: #49803
Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
1 parent 2581991 commit adecb17
2 files changed
Lines changed: 18 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2867 | 2867 | | |
2868 | 2868 | | |
2869 | 2869 | | |
2870 | | - | |
2871 | | - | |
2872 | | - | |
2873 | | - | |
2874 | | - | |
2875 | | - | |
2876 | | - | |
2877 | | - | |
2878 | | - | |
2879 | | - | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
2880 | 2874 | | |
2881 | 2875 | | |
2882 | 2876 | | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
2883 | 2890 | | |
2884 | 2891 | | |
2885 | 2892 | | |
| |||
0 commit comments