mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
escape: add missing non-NULL parameter assertions
This commit is contained in:
@@ -473,6 +473,8 @@ char* octescape(const char *s, size_t len) {
|
||||
|
||||
static char* strcpy_backslash_escaped(char *t, const char *s, const char *bad) {
|
||||
assert(bad);
|
||||
assert(t);
|
||||
assert(s);
|
||||
|
||||
while (*s) {
|
||||
int l = utf8_encoded_valid_unichar(s, SIZE_MAX);
|
||||
|
||||
Reference in New Issue
Block a user