]> git.ipfire.org Git - pakfire.git/commit
packages: Validate UUIDs when reading from the database
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Aug 2023 15:55:30 +0000 (15:55 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Aug 2023 15:56:19 +0000 (15:56 +0000)
commit7189e53284351ec1aa3db62501acd9cbe47091d7
tree92babca9cd38f9b974873cb4f31d270ad6aebb9e
parent0bf1d5d5f083d22f8beee046166a500e4cf2b8c3
packages: Validate UUIDs when reading from the database

Since we are using the UUID in the filesystem paths, we must make sure
that no malicious content is in the field.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/include/pakfire/util.h
src/libpakfire/package.c
src/libpakfire/util.c