rofi: update to 1.7.8.
This commit is contained in:
parent
bdfd0dbbaf
commit
e425025981
@ -1,19 +0,0 @@
|
||||
commit 246da62b9076417e0628e30099b709aa1b5cd247
|
||||
Author: Urs Schulz <github@ursschulz.de>
|
||||
Date: Thu Jan 16 11:05:41 2025 +0100
|
||||
|
||||
Fix buffer overflow in rofi -e after reading from stdin
|
||||
|
||||
diff --git a/source/rofi.c b/source/rofi.c
|
||||
index a88cb973..58cd6873 100644
|
||||
--- a/source/rofi.c
|
||||
+++ b/source/rofi.c
|
||||
@@ -823,6 +823,8 @@ static gboolean startup(G_GNUC_UNUSED gpointer data) {
|
||||
msg = realloc(msg, length * sizeof(char));
|
||||
}
|
||||
|
||||
+ msg[index] = 0;
|
||||
+
|
||||
if (!rofi_view_error_dialog(msg, markup)) {
|
||||
g_main_loop_quit(main_loop);
|
||||
}
|
@ -2,8 +2,8 @@
|
||||
# XXX: ensure all compiled rofi plugins work with each version
|
||||
# xlocate 'usr/lib/rofi/.*.so' to find them
|
||||
pkgname=rofi
|
||||
version=1.7.7
|
||||
revision=2
|
||||
version=1.7.8
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf automake flex glib-devel pkg-config which"
|
||||
makedepends="libXinerama-devel librsvg-devel
|
||||
@ -13,8 +13,9 @@ short_desc="Window switcher, run dialog and dmenu replacement"
|
||||
maintainer="classabbyamp <void@placeviolette.net>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/davatorium/rofi"
|
||||
changelog="https://github.com/davatorium/rofi/releases"
|
||||
distfiles="https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.xz"
|
||||
checksum=ce29264f7c4266ecff43abc7d0fe938e5506ae5c2c48b334e242e89c94b51607
|
||||
checksum=2ad90a8c492e0b64202088e788795bf0b31ecfaa59fe7441ad263298d150655e
|
||||
|
||||
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||
makedepends+=" check-devel"
|
||||
|
Loading…
x
Reference in New Issue
Block a user