mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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