mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
The function savestr allows NULL return values during Plan A patching so in case of out of memory conditions, Plan B can step in. In many cases, NULL value is not properly handled, so use xstrdup here (it's outside Plan A/B patching, which means that even Plan B relies on successful operations). Clean up some whitespaces while here Obtained from: OpenBSD MFC after: 2 weeks |
||
|---|---|---|
| .. | ||
| backupfile.c | ||
| backupfile.h | ||
| common.h | ||
| inp.c | ||
| inp.h | ||
| Makefile | ||
| mkpath.c | ||
| patch.1 | ||
| patch.c | ||
| pathnames.h | ||
| pch.c | ||
| pch.h | ||
| util.c | ||
| util.h | ||