diff options
author | Timo Teräs <timo.teras@iki.fi> | 2022-02-01 14:47:27 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2022-02-01 14:47:27 +0200 |
commit | 6df225eac38c07ca7fd7de8e59781508bc8ac12b (patch) | |
tree | 74c8c117a87d80f1d309de54ae9096a6ae1e6fce /src/adb.h | |
parent | bd13e774de8e545f5326e0137ba0ed4291e3b721 (diff) | |
download | apk-tools-6df225eac38c07ca7fd7de8e59781508bc8ac12b.tar.gz apk-tools-6df225eac38c07ca7fd7de8e59781508bc8ac12b.tar.bz2 apk-tools-6df225eac38c07ca7fd7de8e59781508bc8ac12b.tar.xz apk-tools-6df225eac38c07ca7fd7de8e59781508bc8ac12b.zip |
mkpkg, adb: validate version and dependency format
Fail if the package or dependency version format is not valid.
fixes #10807
Diffstat (limited to 'src/adb.h')
-rw-r--r-- | src/adb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ void adb_wo_reset(struct adb_obj *); void adb_wo_resetdb(struct adb_obj *); adb_val_t adb_w_obj(struct adb_obj *); adb_val_t adb_w_arr(struct adb_obj *); -adb_val_t adb_wo_fromstring(struct adb_obj *o, apk_blob_t); +int adb_wo_fromstring(struct adb_obj *o, apk_blob_t); adb_val_t adb_wo_val(struct adb_obj *o, unsigned i, adb_val_t); adb_val_t adb_wo_val_fromstring(struct adb_obj *o, unsigned i, apk_blob_t); adb_val_t adb_wo_int(struct adb_obj *o, unsigned i, uint32_t); |