This is an automated email from the ASF dual-hosted git repository.

centic9 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git

commit cfc8f6d2619292fa4fa58292aba0153801b2c5b3
Author: Dominik Stadler <[email protected]>
AuthorDate: Mon Oct 26 10:16:42 2026 +0100

    Fuzzing: Remove double testing of write()
    
    Should be fully covered by the separate fuzzers already
---
 poi-fuzz/src/main/java/org/apache/poi/fuzz/POIFuzzer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poi-fuzz/src/main/java/org/apache/poi/fuzz/POIFuzzer.java 
b/poi-fuzz/src/main/java/org/apache/poi/fuzz/POIFuzzer.java
index 3318458eff..52fa443106 100644
--- a/poi-fuzz/src/main/java/org/apache/poi/fuzz/POIFuzzer.java
+++ b/poi-fuzz/src/main/java/org/apache/poi/fuzz/POIFuzzer.java
@@ -107,7 +107,7 @@ public class POIFuzzer {
                                }
                        }
 
-                       wb.write(NullOutputStream.INSTANCE);
+                       // writing is tested in the separate fuzzers anyway: 
wb.write(NullOutputStream.INSTANCE);
                } catch (IOException | POIXMLException | 
IllegalArgumentException | RecordFormatException |
                                 IndexOutOfBoundsException | HSLFException | 
RecordInputStream.LeftoverDataException |
                                 IllegalStateException | 
BufferUnderflowException | OpenXML4JRuntimeException |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to