The compound file binary specification says that a file must be stored using normal sectors when the size is equal to or larger than 4096. The current code uses the condition "greater than" which is wrong (CompoundFile.cs:2103 and following, should be >= instead of >).
Testcase: grow a CFStream that is less than 4096 to exactly 4096 bytes in size, commit and observe that the file contents are then messed up.
The compound file binary specification says that a file must be stored using normal sectors when the size is equal to or larger than 4096. The current code uses the condition "greater than" which is wrong (CompoundFile.cs:2103 and following, should be >= instead of >).
Testcase: grow a CFStream that is less than 4096 to exactly 4096 bytes in size, commit and observe that the file contents are then messed up.