Comments (3)
That could only happen with an invalid data_size
in the client schema. So it's not something that can happen if you have a meaningful schema. The load code explicitly rejects it, but to create such a schema the user supplied schema has to be explicitly crafted to be broken.
from libcyaml.
In fact, the save code will return CYAML_ERR_INVALID_DATA_SIZE
anyway. Because the cyaml_data_read
call will return an error.
I can rearrange it slightly which will hopefully suppress Coverity's false positive.
from libcyaml.
Thank you @tlsa !
from libcyaml.
Related Issues (20)
- Make install step fails on macOS HOT 4
- add array value HOT 2
- How to know if an optional field was provided? HOT 2
- .mem_fn = cyaml_mem Method or interface written to shared memory HOT 3
- cyaml_load_data(*, cyaml_data_t **data_out, *); data_out parameter Length ? HOT 4
- Do not detect invalid float values HOT 2
- Reject integer values with trailing junk
- When is next bugfix release going to be released HOT 1
- Define locale for parsing float values HOT 2
- Improve logging in enum handling - print out available values HOT 3
- Need to show that main branch is now for v2
- How to use CYAML_FIELD_BITFIELDS in case of variables declared in structure HOT 2
- CMake File HOT 1
- How to parse nameless list of map? HOT 3
- Long string causing `malloc(): invalid next size (unsorted)` HOT 2
- Dependency on libyaml not documented HOT 5
- loading data appended to sequence fails HOT 2
- failed to install on MacOS HOT 2
- Handling Dynamic In-Memory Serialization/Deserialization of Specific YAML Sections 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 libcyaml.