You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Snappy class maintains a single static instance of SnappyApi[1]. PureJavaSnappy has a table member variable[2], which is mutated during compression operations[3,4,5,6].
Concurrent compression calls seem likely to corrupt each other.
The
Snappy
class maintains a single static instance ofSnappyApi
[1].PureJavaSnappy
has atable
member variable[2], which is mutated during compression operations[3,4,5,6].Concurrent compression calls seem likely to corrupt each other.
[1] - https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/Snappy.java#L52
[2] - https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/pure/PureJavaSnappy.java#L16
[3] - https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/pure/PureJavaSnappy.java#L86
[4] - https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/pure/PureJavaSnappy.java#L102
[5] - https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/pure/SnappyRawCompressor.java#L119
[6] - https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/pure/SnappyRawCompressor.java#L172
The text was updated successfully, but these errors were encountered: