diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2005-09-29 21:12:07 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2005-09-29 21:12:07 +0000 |
commit | a008f8519b803cb884561fe9544badcd31722e72 (patch) | |
tree | e52216f9f197e01fe999a14754ddbc4d54527a95 | |
parent | cae6a3246f542fe747a2d03e96a53fed77a78e2e (diff) | |
download | mdk-a008f8519b803cb884561fe9544badcd31722e72.tar.gz mdk-a008f8519b803cb884561fe9544badcd31722e72.tar.bz2 |
(write_char_): buffer size was insufficient.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | mixgtk/mixgtk_device.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-09-29 Jose Antonio Ortega Ruiz <jao@gnu.org> + + * mixgtk/mixgtk_device.c (write_char_): buffer size was + insufficient. + 2005-09-20 Jose Antonio Ortega Ruiz <jao@gnu.org> * mdk: version 1.2.1 tagged (v1r2_1). diff --git a/mixgtk/mixgtk_device.c b/mixgtk/mixgtk_device.c index 203933c..a27c5a0 100644 --- a/mixgtk/mixgtk_device.c +++ b/mixgtk/mixgtk_device.c @@ -1,9 +1,9 @@ /* -*-c-*- ---------------- mixgtk_device.c : * actual types for mixgtk devices * ------------------------------------------------------------------ - * $Id: mixgtk_device.c,v 1.26 2005/09/20 19:43:14 jao Exp $ + * $Id: mixgtk_device.c,v 1.27 2005/09/29 21:12:07 jao Exp $ * ------------------------------------------------------------------ - * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. + * Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -88,7 +88,7 @@ struct mixgtk_bin_device_t static void write_char_ (struct mixgtk_device_t *dev, const mix_word_t *block) { - enum {MAX_BLOCK = 16, BUFF_SIZE = MAX_BLOCK * 5 + 2}; + enum {MAX_BLOCK = 24, BUFF_SIZE = MAX_BLOCK * 5 + 2}; static gchar BUFFER[BUFF_SIZE]; guint k, j; |