* [gentoo-commits] gentoo-x86 commit in media-sound/takcd/files: takcd-0.10-overflow.patch
@ 2011-05-07 17:17 Christoph Mende (angelos)
0 siblings, 0 replies; only message in thread
From: Christoph Mende (angelos) @ 2011-05-07 17:17 UTC (permalink / raw
To: gentoo-commits
angelos 11/05/07 17:17:23
Added: takcd-0.10-overflow.patch
Log:
Fix possible overflow (bug #337849)
(Portage version: 2.2.0_alpha31/cvs/Linux x86_64)
Revision Changes Path
1.1 media-sound/takcd/files/takcd-0.10-overflow.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/takcd/files/takcd-0.10-overflow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/takcd/files/takcd-0.10-overflow.patch?rev=1.1&content-type=text/plain
Index: takcd-0.10-overflow.patch
===================================================================
diff --git a/config_api.c b/config_api.c
index b62e41c..2b6a6cf 100644
--- a/config_api.c
+++ b/config_api.c
@@ -41,7 +41,7 @@ static void on_change(config_t *conf)
int config_open(config_t *conf, const char *filename, int flag)
{
struct stat st;
- char mode[2];
+ char mode[3];
/* set fopen() mode or return if flag is not valid */
if (flag == C_WRITE) {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-07 17:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07 17:17 [gentoo-commits] gentoo-x86 commit in media-sound/takcd/files: takcd-0.10-overflow.patch Christoph Mende (angelos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox