static-delta: add some error handling
We make _ostree_parse_delta_name() a bit more defensive since it handles user input. Closes: #504 Closes: #505 Approved by: cgwalters
This commit is contained in:
1 parent
36e8ba124e
commit
12e916466c
6 files changed
+77
-21
No files matched your search
@@ -121,10 +121,11 @@ static inline char * _ostree_get_commitpartial_path (const char *checksum)
|
||||
return g_strconcat ("state/", checksum, ".commitpartial", NULL);
|
||||
}
|
||||
|
||||
void
|
||||
gboolean
|
||||
_ostree_parse_delta_name (const char *delta_name,
|
||||
char **out_from,
|
||||
char **out_to);
|
||||
char **out_to,
|
||||
GError **error);
|
||||
|
||||
void
|
||||
_ostree_loose_path (char *buf,
|
||||
|
||||
Reference in new issue
Block a user