Results issues of Dan Anderson

Fixes #4203 Two public facing functions had rpmPopMacro instead of rpmUndefineMacro. Finishes the push by commit 47b005e67ab9e00539d03bf53de837f0613e7130 to update to function with error checking.

**Describe the bug** Commit ```47b005e67ab9e00539d03bf53de837f0613e7130``` went through to start using rpmUndefineMacro() API instead of rpmPopMacro() to implement error checking. **To Reproduce** Check the following files and line numbers: * rpmio/rpmlua.cc...

TODO from commit 09fb83a756267ede56c57e2986098a8063a2ce49 failed to strip setuid bit from hardlink. This PR fixes as per #4200.

**Describe the bug** In fsm.cc line 478 we have this comment here: ```cpp /* XXX TODO: actually check for the rc, but what to do there? */ ``` This comment...

bug

## Summary `gguf_get_tensor()` validates `tensor->ndim` against `GGUF_TENSOR_MAX_DIM` using `assert()`, which is compiled out in release builds (`NDEBUG`). A crafted GGUF file with `ndim > 8` causes the subsequent dimension-reading loop...

### Description `docker context import` handles zip archives where the `meta.json` branch correctly limits decompressed reads with `limitedReader` (10MB cap), but the `tls/` branch uses a bare `io.ReadAll(f)` with no...

kind/bug
status/0-triage

### Description We've found a path confinement issue in docker cli. Documentation is unclear if path confinement is expected, but I did want to raise as a security issue first....

kind/feature
status/0-triage

**Describe the bug** RandomBits::is_equivalent() currently compares only shape_, which incorrectly treats two RandomBits primitives with the same shape but different width_ as equivalent. Since width_ affects output dtype/bit-width, this is...

**Describe the bug** The following function adds a signed + unsigned number together without explicitly casting, causing potential issues. ```Cpp // Line 108 /** The number of dimensions of the...

** Issue ** Best Practices for C++ Development recommend that includes are not implicit. What that means is every file should have all the include statements necessary. See https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rs-implicit **...

wontfix