public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xfig] epel10.2: Add forgotten patch
Date: Sat, 30 May 2026 14:28:14 GMT [thread overview]
Message-ID: <178015129404.1.7693759664262986914.rpms-xfig-1f21f73f7ee9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10.2
Commit : 1f21f73f7ee9c39530e6f709a46c34d1874008a2
Author : Stanislav Ochotnicky <sochotnicky@redhat.com>
Date : 2010-12-06T10:13:52+01:00
Stats : +22/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/xfig/c/1f21f73f7ee9c39530e6f709a46c34d1874008a2?branch=epel10.2
Log:
Add forgotten patch
---
diff --git a/xfig-3.2.5b-fix-fig-buffer-overflow.patch b/xfig-3.2.5b-fix-fig-buffer-overflow.patch
new file mode 100644
index 0000000..77b7224
--- /dev/null
+++ b/xfig-3.2.5b-fix-fig-buffer-overflow.patch
@@ -0,0 +1,22 @@
+--- w_msgpanel.c
++++ w_msgpanel.c 2010-12-03 14:21:07.931926127 +0000
+@@ -60,7 +60,7 @@ DeclareStaticArgs(12);
+ /* for the popup message (file_msg) window */
+
+ static int file_msg_length=0;
+-static char tmpstr[300];
++static char tmpstr[512];
+ static Widget file_msg_panel,
+ file_msg_win, file_msg_dismiss;
+
+@@ -582,8 +582,8 @@ file_msg(char *format,...)
+ }
+
+ va_start(ap, format);
+- /* format the string */
+- vsprintf(tmpstr, format, ap);
++ /* format the string (but leave room for \n and \0) */
++ vsnprintf(tmpstr, sizeof(tmpstr)-2, format, ap);
+ va_end(ap);
+
+ strcat(tmpstr,"\n");
reply other threads:[~2026-05-30 14:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178015129404.1.7693759664262986914.rpms-xfig-1f21f73f7ee9@fedoraproject.org \
--to=sochotnicky@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox