aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/SocketsTest.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-01-10Set up GNU Autotest infrastructurePau Espin Pedrol1-104/+0
Test files are moved from CommonLibs/ to tests/CommonLibs/. Some tests are disabled in autotest because they generate timedate related output which cannot exactly match against expected output. Change-Id: I3d6ba625968be09297642d18090c496490e9b8fc
2017-11-07SocketsTest: Fix printing of non-nul-terminated stringHarald Welte1-1/+2
Change-Id: I33d0ddf851d84b81ab5252e3755422170cee54ee Fixes: Coverity CID#149363
2017-08-16Add -j option to bind to specific addressPau Espin Pedrol1-2/+2
Before this patch, the binding of the listening sockets was hardcoded to a local IP. Change-Id: I9ba184a1251c823e413a9230943ed263e52142ec
2016-05-02common: Add mandatory length field to UDP receive callsTom Tsou1-2/+2
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>
2011-10-07Putting the actual OpenBTS P2.8 source code into the public SVN branch.dburgess1-0/+103
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2242 19bc5d8c-e614-43d4-8b26-e1612bc8e597