Revision: 9711
http://pure-data.svn.sourceforge.net/pure-data/?rev=9711&view=rev
Author: eighthave
Date: 2008-04-15 16:59:37 -0700 (Tue, 15 Apr 2008)
Log Message:
-----------
checked in Thomas' patch 1930681 to fix buffer overflows
Added Paths:
-----------
trunk/packages/patches/s_path_buffer_overflow_fixes-0.41.4.patch
Added: trunk/packages/patches/s_path_buffer_overflow_fixes-0.41.4.patch
===================================================================
--- trunk/packages/patches/s_path_buffer_overflow_fixes-0.41.4.patch (rev 0)
+++ trunk/packages/patches/s_path_buffer_overflow_fixes-0.41.4.patch 2008-04-15 23:59:37 UTC (rev 9711)
@@ -0,0 +1,22 @@
+Index: s_path.c
+===================================================================
+--- s_path.c (revision 9700)
++++ s_path.c (working copy)
+@@ -380,7 +380,7 @@
+ int rcargc;
+ char* rcargv[NUMARGS];
+ char* buffer;
+- char fname[MAXPDSTRING], buf[1000], *home = getenv("HOME");
++ char fname[MAXPDSTRING], buf[1001], *home = getenv("HOME");
+ int retval = 1; /* that's what we will return at the end; for now, let's think it'll be an error */
+
+ /* initialize rc-arg-array so we can safely clean up at the end */
+@@ -424,7 +424,7 @@
+ fclose(file);
+ if (sys_verbose)
+ {
+- if (rcargv)
++ if (rcargc)
+ {
+ post("startup args from RC file:");
+ for (i = 1; i < rcargc; i++)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 9707
http://pure-data.svn.sourceforge.net/pure-data/?rev=9707&view=rev
Author: eighthave
Date: 2008-04-15 16:41:56 -0700 (Tue, 15 Apr 2008)
Log Message:
-----------
checked in Thomas' patch 1930733 to prevent an buffer overrun
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/m_class.c
Modified: branches/pd-extended/v0-40/pd/src/m_class.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/m_class.c 2008-04-15 22:51:26 UTC (rev 9706)
+++ branches/pd-extended/v0-40/pd/src/m_class.c 2008-04-15 23:41:56 UTC (rev 9707)
@@ -810,7 +810,7 @@
va_start(ap, fmt);
while (1)
{
- if (nargs > MAXPDARG)
+ if (nargs >= MAXPDARG)
{
pd_error(x, "pd_vmess: only %d allowed", MAXPDARG);
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 9704
http://pure-data.svn.sourceforge.net/pure-data/?rev=9704&view=rev
Author: eighthave
Date: 2008-04-15 14:51:45 -0700 (Tue, 15 Apr 2008)
Log Message:
-----------
checked in danomatika's patch 1939017 to allow hiding of hidden files on GNU/Linux open/save panels.
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/u_main.tk
Modified: branches/pd-extended/v0-40/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-15 21:31:19 UTC (rev 9703)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-15 21:51:45 UTC (rev 9704)
@@ -66,7 +66,19 @@
# end Pd-extended font hacks -----------------------------
+# begin hack to hide hidden files/folder in tk browser on unix ----------
+if {$pd_nt == 0} {
+ # load the dialog once, otherwise setting the vars will not work
+ catch {tk_getOpenFile -with-invalid-argument}
+ # change the environment variables
+ namespace eval ::tk::dialog::file {
+ variable showHiddenBtn 1
+ variable showHiddenVar 0
+ }
+}
+# end hidden files/folder hack ------------------
+
# Tearoff is set to true by default:
set pd_tearoff 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.