mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
escape: add missing non-NULL parameter assertions
This commit is contained in:
parent
582843ee37
commit
0b82a6fa5d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user