osmo-trx/CommonLibs
Tom Tsou 2c650a6895 common: Add mandatory length field to UDP receive calls
Current UDP receive reads up to MAX_UDP_LENGTH bytes into the
passed in buffer, which may lead to buffer overflow if the
write buffer is of insufficient size.

Add mandatory length argument to UDP socket receive calls.

Reported-by: Simone Margaritelli <simone@zimperium.com>
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2016-05-02 17:37:05 -07:00
..
BitVector.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
BitVector.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
BitVectorTest.cpp Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
Configuration.cpp Common: Get rid of a compilation warning. 2016-04-20 12:26:57 -07:00
Configuration.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
ConfigurationTest.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
F16.h Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
F16Test.cpp Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
Interthread.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
InterthreadTest.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
LinkedLists.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
LinkedLists.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
LogTest.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Logger.cpp Common: Make sure gLogEarly() log to the same facilities as the normal log. 2016-04-20 12:33:41 -07:00
Logger.h Common: Introduce a global variable to disable syslog logging. 2015-05-24 13:20:44 -04:00
Makefile.am syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
MemoryLeak.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Regexp.h Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
RegexpTest.cpp Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
Reporting.cpp OH GOOD GIT MISSED THESE FILES THANKS GIT 2012-12-16 06:23:29 +00:00
Reporting.h OH GOOD GIT MISSED THESE FILES THANKS GIT 2012-12-16 06:23:29 +00:00
ScalarTypes.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Sockets.cpp common: Add mandatory length field to UDP receive calls 2016-05-02 17:37:05 -07:00
Sockets.h common: Add mandatory length field to UDP receive calls 2016-05-02 17:37:05 -07:00
SocketsTest.cpp common: Add mandatory length field to UDP receive calls 2016-05-02 17:37:05 -07:00
Threads.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Threads.h CommonLibs: Add thread cancellation capability 2014-12-15 16:20:15 -07:00
Timeval.cpp Alexander's change. Fixes MTC bug by supporting 64bit processors in Timeval. Math was bad. 2011-12-17 00:03:24 +00:00
Timeval.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
TimevalTest.cpp Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
URLEncode.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
URLEncode.h Putting the actual OpenBTS P2.8 source code into the public SVN branch. 2011-10-07 02:40:51 +00:00
URLEncodeTest.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Utils.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Utils.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
Vector.h syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
VectorTest.cpp syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better. 2013-05-31 21:47:25 +00:00
sqlite3util.cpp Synced sqlite3utils with private and fixed a small recursive bug in SIPEngine that was already fixed in private 2013-02-15 02:57:54 +00:00
sqlite3util.h Alexander's patch #1: 2012-11-14 03:51:51 +00:00