Comments (2)
Hi, it looks like I've spoken too soon. The original loops do produce correct output and changing them results in incorrect output.
So for anyone who is building with a UBsan enabled, I recommend suppressing the warnings by adding an attribute at the function's declaration
#if defined(clang)
attribute((no_sanitize("pointer-overflow")))
#endif
static int lzfse_decode_lmd(lzfse_decoder_state *s) {
...
}
Cheers.
from lzfse.
Hmm... the website has stripped some underlines from the previous post: "clang" should be "clang" and "attribute" should be "attribute".
from lzfse.
Related Issues (20)
- Benchmarks HOT 4
- No portable fallbacks for GCC builtins
- gzip switch compatibility HOT 1
- Library release versioning HOT 4
- error when using on centos 7
- Conan package
- Unaligned loads in decoder fail on asm.js. HOT 2
- Problem with lzfse_decode_buffer_with_scratch HOT 1
- Crash (double free) when compressing empty file or pipe HOT 3
- I want to compress a file use lzfse on system-level ,like lzvn or zlib,what could I do? HOT 1
- Attempt to decode throws a malloc error HOT 3
- how to inline compile assembly HOT 2
- Try impl on Android but app crashes
- [Question] How to build this as dylib (consumable in a .NET Core project) HOT 1
- https://github.com/sbingner/lzfse.git HOT 1
- lzfse decode issue - msys2 build HOT 1
- add support for LZBITMAP HOT 4
- Not able to decompress iCloud backup file when size is greater than 64KB
- Compression of inputs larger than 2GiB degraded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lzfse.