Comments (3)
This can be safely ignored since uninitalized links are never read anyway. Basically it mimicks a linked list but with a pre allocated array. This helps overcome the malloc
overhead of nodes.
The chain is iterated from the links
indexes array, so it will always access a valid link.
from sheenbidi.
@mta452 wrote:
This can be safely ignored since uninitalized links are never read anyway.
That is still annoying, even if it presumably does not have bad consequences in this case.
One would expect to have clean report from valgrind, otherwise it becomes nearly impossible to know what's fine and what is done when checking software that integrates many 3rd party libs.
To be pedantic, a condition that depends on uninitialized memory is undefined behavior, and UB is always a bug (which may or may not have consequences in some cases, but that's unpredictable on all toolchains/platforms).
from sheenbidi.
Related Issues (17)
- Using SheenBidi with utf8 HOT 6
- License doesn't specify copyright owner(s) HOT 3
- Support Meson HOT 5
- Unsafe for allocation failure HOT 4
- Small documentation mistake HOT 1
- Specifying a smaller suggested length results in increased paragraph length HOT 1
- Specifying a smaller suggested length results in decreased boundary length HOT 1
- SBAlgorithmGetParagraphBoundary() leaves separatorLength unset if no separators. HOT 2
- OpenType Script Tag HOT 1
- Upgrade data files to Unicode 11 HOT 1
- Appveyor CI for Visual Studio Compatibility HOT 1
- Getting script of each code unit in an array
- Default property values of unassigned code points
- extern "C" in public headers? HOT 1
- CJK / Hangul has return SBBidiTypeON which reversed when mixing with arabic HOT 5
- requirement: Is there a demo for utf-16? HOT 2
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 sheenbidi.