aboutsummaryrefslogtreecommitdiff
path: root/signal
AgeCommit message (Collapse)Author
2008-01-06(Merge the rest of my changes from issue #1848356)Russell Bryant
When I first starting looking into different ways to stream audio into Pd, I spent a little bit of time looking at streamin~/streamout~. While looking at it, I fixed the security issue from the previous commit, and made the following updates to stream.h. - Adding doxygen style comments. - Add an ifdef to prevent against multiple or recursive includes of the header. - Document most of the fields in the defined data structures. - Fix potential alignment bugs (at least on platforms using GNUC) by using the packed attribute for structures defining network frames. See http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Variable-Attributes.html#Variable%20Attributes - Point out the fact that this code is not endianness-safe, and that it should eventually be updated to respect network byte order. - Point out that the version field of the frame header is ignored when parsing incoming frames. - Change a list of #defines to an enum. - Instead of using "int" in the frame header structure, use int32_t to explicitly state that the field is 32-bits. svn path=/trunk/externals/ggee/; revision=9134
2008-01-06Fix a security issue.Russell Bryant
streamin~ was vulnerable to a remotely exploitable heap buffer overflow that could potentially allow an attacker to execute arbitrary code on a machine that is using streamin~. The issue is that the defined frame header includes a field for frame size which indicates how much additional data is available. However, this frame size was not checked to ensure that it was smaller than the size of the buffer that was allocated to store this data. (one of my patches from issue #1848356) svn path=/trunk/externals/ggee/; revision=9133
2007-07-03updated windows macro to automatically defined _WIN32 to smooth Windows buildingHans-Christoph Steiner
svn path=/trunk/externals/ggee/; revision=7890
2005-11-15minor compile fixes for Mac OS X and MinGWHans-Christoph Steiner
svn path=/trunk/externals/ggee/; revision=3910
2005-11-14these pragmas are only used for MSVC, not MinGW or Cygwin, therefore ↵Hans-Christoph Steiner
changing the define from NT to _MSC_VER svn path=/trunk/externals/ggee/; revision=3903
2005-05-22removed obsolete externals, updated for win compilationGuenter Geiger
svn path=/trunk/externals/ggee/; revision=3070
2005-02-24added getdir and threw out g_canvas from places where it is not neededGuenter Geiger
svn path=/trunk/externals/ggee/; revision=2581
2005-02-24remove leftoverGuenter Geiger
svn path=/trunk/externals/ggee/; revision=2580
2004-08-23hd-clear (NT)carmen rocco
svn path=/trunk/externals/ggee/; revision=1971
2004-08-12update header infoGuenter Geiger
svn path=/trunk/externals/ggee/; revision=1940
2004-08-12replaced close by sys_closesocketGuenter Geiger
svn path=/trunk/externals/ggee/; revision=1939
2004-08-09Fixed problem when loosing connection under windowsGuenter Geiger
svn path=/trunk/externals/ggee/; revision=1923
2003-11-05changed help file namesGuenter Geiger
svn path=/trunk/externals/ggee/; revision=1161
2003-07-08canvas businessGuenter Geiger
svn path=/trunk/externals/ggee/; revision=750
2003-06-10removed m_imp.h, fixed bug in buttonGuenter Geiger
svn path=/trunk/externals/ggee/; revision=689
2003-04-22linear interpolation addedGuenter Geiger
svn path=/trunk/externals/ggee/; revision=584
2003-03-05small cleanup changes, multichannel for streamout started (how to do it in ↵Guenter Geiger
streamin ??) svn path=/trunk/externals/ggee/; revision=454
2002-10-25fiddling with build systemGuenter Geiger
svn path=/trunk/externals/ggee/; revision=197
2002-07-22removed m_pd.dGuenter Geiger
svn path=/trunk/externals/ggee/; revision=53
2002-06-17This commit was generated by cvs2svn to compensate for changes in r12,svn2git-rootGuenter Geiger
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/ggee/; revision=13