| Summary: | rpmquery crashes on a certain queryformat string | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
| Component: | rpm | Assignee: | placeholder <placeholder> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P2 | CC: | at, glebfm, imz, ldv, placeholder, vt |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
This one also causes crash:
$ rpmquery --qf='%{NAME} [] ' rpm
Segmentation fault
Fixed in 4.0.4-alt46 |
rpm-4.0.4-alt41 What is queried is not important, originally discovered with --specfile. Steps to Reproduce: $ rpm -q rpm rpm-4.0.4-alt41 $ rpm -q --qf='[a]*' rpm Segmentation fault $ Another case (with an error message): $ rpm -q --qf='%{NAME}-[^-]*-[^-]*\.%{ARCH}' --specfile feat/drivers-console-unicode/kernel-feat-drivers-console-unicode.spec memory alloc (3705981875 bytes) returned NULL. $