Closed floriandejonckheere closed 1 year ago
Ruby's read always returns an empty string on read with length zero, not nil. Polyphony should do this as well.
read
nil
Discovered through rubyzip reading/writing zero-length comments, which failed and caused the zip entry to be overwritten.
rubyzip
Ruby's
read
always returns an empty string on read with length zero, notnil
. Polyphony should do this as well.Discovered through
rubyzip
reading/writing zero-length comments, which failed and caused the zip entry to be overwritten.