mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 00:04:14 -05:00
post-deinstall script, the variable intended to hold the name of that script would be used uninitialized. In some cases, fexists() would succeed, causing pkg_delete to try to chmod +x it, then execute it, resulting in bizarre error messages such as: .//: Permission denied This bug would normally only occur when multiple packages were specified on the command line; otherwise post_script would be located in a previously unused part of the stack, and implicitly (but quite accidentally) initialized to all-zeros. MFC after: 3 days |
||
|---|---|---|
| .. | ||
| delete.h | ||
| main.c | ||
| Makefile | ||
| perform.c | ||
| pkg_delete.1 | ||