Closed stuertz closed 4 years ago
Most likely, line scss/src/hashtable.c:46:
tail = (const unsigned char *)(key + nblocks * 4);
Should instead be:
tail = (const unsigned char *)(key) + nblocks * 4;
Please someone try it out and make a pull request.
@e0ne, could you please follow up on this one if you get a chance?
Unfortunately, I don't have Windows environment so I can't test the fix. It would be good if somebody could test the fix mentioned above
maybe I can have a look on it over the weekend ;-)
As already discussed in #393 and worked around in #394 the c extension can't be compiled on windows because of invalid code for the msvc14 compiler in hashtable.c which is originated from https://gist.github.com/tonious/1377667.
They have newer versions over there, that may fix this and a lot of other bugs with the hashtable.
Or replace it with any other hashtable, or even use c++ std::unordered_map, or take a look at https://stackoverflow.com/questions/1138742/looking-for-a-good-hash-table-implementation-in-c