Space Cheetah
Space Cheetah
@noloader > What version of the library are you using? I was using 8.2.0. However, after updating to 8.5.0, the issue still occurs, exact same result for both cases. Oh,...
After cloning and building it as a static library, I got completely different results with deepCopy true, but exact same with deepCopy false. deepCopy true: 95 251 243 163 245...
Ok so apparently with the current master, when deepCopy is true it's running as if it has a different IV each time. That looks like it's using uninitialized memory somewhere,...
I don't think it's overriding exactly, since this works: ``` string_view key = "0123456789abcdef"; const byte* buf = (const byte*)(&key[0]); AlgorithmParameters params = MakeParameters(Name::FeedbackSize(), 1) (Name::IV(), ConstByteArrayParameter(buf, key.size(), deepCopy)); ConstByteArrayParameter...
Decided to try setting m_register to public (changed modes.h ln 127 from protected to public). Using that, I checked the value with ``` for(byte b : cipher.m_register) { std::cout
> What version can use this fix? Looking at the git blame, should be valid for basically any version from the last five years or so, though you'd have to...
@alexbereznikov It shows up when you try to seek in a file read stream. Just downloading directly to a file or copying to a memory stream works fine, but if...
Created branch https://github.com/SpaceCheetah/LiteDB/tree/FailingTests Notably, PR #2459 does not yet fully pass these, and I'll probably be adding more. Here's the repro code for the main issue I've found: ``` [Fact]...
@JKamsker I now have, and it does pass the tests I've added now.
@JKamsker Well, a better solution may be possible (if it's possible to read through the data chunks getting just lengths without having to read through all of it, for instance)....