Some interactive elements (branch dropdowns, the user menu, the clone popover) need JavaScript. Reading repositories, issues, patches, and the docs works without it; submitting forms also works as long as you can reach them via direct links.
Radish
alpha
Explore
Docs
Sign in
H
HardenedBSD-pkg
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Clone
Radicle
Git (anonymous pull)
Log in
to clone via SSH
Source
Commits
10440
Issues
Patches
Jobs
Commits
›
db9e391e0880f0753c1df76f2c7ddc73bf4cfefe
repo: fix potential buffer underflow
Baptiste Daroussin
committed
2 months ago
commit db9e391e0880f0753c1df76f2c7ddc73bf4cfefe
parent
2a6170e50405db18a90209009157ebb5c801136f
1 file changed
+2
-0
modified
libpkg/pkg_repo.c
@@ -130,6 +130,8 @@ pkg_repo_file_has_ext(const char *path, const char *ext)
n = strlen(path);
l = strlen(ext);
+
if (l > n)
+
return (false);
p = &path[n - l];
if (STREQ(p, ext))