libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

Canonical source repository for LibYAML

Results 116 libyaml issues
Sort by recently updated
recently updated
newest added

As noted in https://github.com/yaml/yaml-spec/issues/268#issuecomment-1208565027, Psych does not accept a `%TAG` prefix including a `#`, which seems to be due to the following code: https://github.com/yaml/libyaml/blob/f8f760f7387d2cc56a2fc7b1be313a3bf3f7f58c/src/scanner.c#L2603-L2627 According to the[YAML 1.2 Spec](https://yaml.org/spec/1.2.2/#rule-ns-uri-char) the...

This was an error returned from Coverity static analysis tool: Error: RESOURCE_LEAK (CWE-772): yaml-0.1.7/src/parser.c:1273: alloc_fn: Storage is returned from allocation function "yaml_malloc". yaml-0.1.7/src/api.c:33:5: alloc_fn: Storage is returned from allocation function...

The use of hard tabs, where everything else in this project uses 4-space indent, causes the code to be displayed in a misleading way when tab size is anything other...

How to reproduce: ```sh $ cmake . $ make $ yes '{' | head -n 1048576 | tr -d '\n' > x.yaml $ ./run-loader x.yaml ``` I don't know, but...

Without this PR, a warning is emitted when compiling libyaml with musl libc: ``` api.c: In function 'yaml_strdup': api.c:66:27: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]...

While they are not explicitly mentioned in the YAML 1.1 or 1.2 spec, the following is valid JSON: ``` { "unicode": "surrogate pair \ud83d\udcaf" } ``` Same as ``` {...

Our toolchain is very pedantic. I fixed several issues it pointed out.

This change corrects implicit type conversions that show as compile warnings in c99, c11 compilers. Signed-off-by: Randall S. Becker

The HPE NonStop platform uses link options `-Wshared` instead of gcc options. Also required is `-Weld=-export_all` for ia64 and `-Wxld=0export_all`. Would appreciate guidance on making this work in your `configure.ac`...

The CMake build has a variable `INSTALL_INCLUDE_DIR` that controls the folder headers get installed to. It appears the intent is to allow installing the header to a different folder using...