QubesOS / qubes-rpm-oxide

Rust libraries for processing RPM packages
4 stars 4 forks source link

Use bindgen instead of manual FFI #27

Closed DemiMarie closed 1 year ago

DemiMarie commented 1 year ago

This ensures that future changes to the librpm and librpmio ABI do not silently cause undefined behavior. It found a harmless bug (signed vs unsigned 32-bit integer) in the hand-written bindings.

Fixes: QubesOS/qubes-issues#8522