Commit Graph

2997 Commits

Author SHA1 Message Date
irungentoo_trip
70869b601e Merge branch 'master' of https://github.com/tux3/toxcore
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-27 20:57:13 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
7bb0c495ac
Fix DHT memory leak
Found with valgrind, in the order of magnitude of 100kB leaked
2014-10-27 22:57:12 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
854142dd8d
Fix typo: romdom->random 2014-10-27 22:52:03 +01:00
irungentoo_trip
18c66eed50 Initial friend finding might work a bit better. 2014-10-27 13:56:12 -07:00
irungentoo_trip
c136145647 Merge branch 'irdan-irdan/doc-fix' 2014-10-26 18:13:14 -07:00
irdan
7836ced3f8 Modify DHT.md to render correctly 2014-10-26 14:03:27 -07:00
irungentoo_trip
9c480acecf Fixed possible threading issues. 2014-10-25 09:01:15 -07:00
irungentoo_trip
9b5aa3ff27 Merge branch 'toxav-uaf' of https://github.com/tux3/toxcore
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-25 08:55:42 -07:00
irungentoo_trip
b877d1dc1c Merge branch 'master' of https://github.com/xor2003/toxcore
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-25 08:51:43 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
ea4320733f
Fix use-after-free of toxav's TimerHandler
If msi.c:timer_terminate_session frees "handler", then when msi.c:timer_poll's thread resumes, there WILL be a use after free of "handler", with a likely segfault.

This use after free causes a crash in qTox, see tux3/qTox#534
2014-10-25 12:29:10 +02:00
irungentoo_trip
c8812d4734 Merge branch 'big_endian_save' 2014-10-24 18:05:11 -07:00
irungentoo_trip
f73ad4ab05 Portability saving fixes for big endian systems.
Saves should now be portable from big endian to little endian systems
though I need someone to actually test it to be sure I didn't mess up.
2014-10-24 18:04:27 -07:00
xor2003
2aed4bb75e Add a check (reported by Coverity) 2014-10-24 16:04:55 +04:00
xor2003
7eca727ffd Don't send -1 bytes. There is such check everythere. But if we add it in side funciton the logic will change 2014-10-24 16:03:29 +04:00
xor2003
69c9f68573 Prevent lock 2014-10-24 16:01:58 +04:00
xor2003
6b0fe7eb41 Fix uninitialized 2014-10-24 15:57:10 +04:00
xor2003
837f72b39e Fix for memory leak. And add forgotten break 2014-10-24 15:53:38 +04:00
irungentoo_trip
9878b441b1 Merge branch 'dubslow-master'
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-23 18:09:02 -07:00
dubslow
d90ee9d4e4 fix #1124 by adding salt manip functions
Also, all data now has the magic number prepended. This is incompatible
for all but the save/load functions, but I think nothing besides the one
experimental qTox branch used any of those, which is why I feel confident
about the change.
2014-10-23 04:19:18 -05:00
irungentoo_trip
cfac10fb82 Merge branch 'urras-master' 2014-10-23 00:47:25 -04:00
irungentoo_trip
31c17856b8 Load file portability code for big endian.
Warning: only loads, doesn't save.
2014-10-22 21:56:52 -04:00
Urras
4b2248ee80
Update to Libsodium 1.0.0 since backward-compatibility is guaranteed through all the 1.x.y releases. 2014-10-22 12:52:56 -04:00
irungentoo_trip
3c874bcf62 Fixed unaligned memory access. 2014-10-21 16:15:49 -04:00
irungentoo
5f26ee201c
Increased interval and ping packet timeout by 1 second to try to
fix TCP issues.
2014-10-20 20:52:17 -04:00
irungentoo
f4e050f377
Removed useless code. 2014-10-19 20:47:03 -04:00
irungentoo
e322926646
File transfer speed should jump up a bit faster. 2014-10-18 21:52:39 -04:00
irungentoo
a2db81bb1d
Some video encoding improvements. 2014-10-17 19:54:42 -04:00
irungentoo
0fb3062f08
Merge branch 'master' of https://github.com/dubslow/toxcore 2014-10-17 16:06:00 -04:00
irungentoo
418bb2b194
Merge branch 'master' of https://github.com/xor2003/toxcore 2014-10-17 16:03:02 -04:00
dubslow
ff1d4faa74 add new test cases, cleanup astray printf 2014-10-17 09:23:21 -05:00
xor2003
0ce68b994e Initialise source.port to prevent garbage value 2014-10-17 16:15:22 +04:00
dubslow
ca38ee8bc7 fix #1120 2014-10-17 06:04:08 -05:00
dubslow
ffb13e4716 add load/save from key instead of pw 2014-10-17 06:02:15 -05:00
xor2003
1b60fbed56 Trying to fix TimerHandler *handler memory leak 2014-10-17 11:26:22 +04:00
xor2003
35b16b9cee forgotten to free memory in pAdapterInfo 2014-10-17 11:22:18 +04:00
irungentoo
87130997cd
astyle toxencryptsave. 2014-10-16 20:59:52 -04:00
irungentoo
6114bd7f3e
Merge branch 'tox-bootstrapd-network-error-handling' of https://github.com/nurupo/InsertProjectNameHere 2014-10-15 20:01:43 -04:00
irungentoo
34311d1ba8
Merge branch 'copy_chatlist' of https://github.com/JFreegman/toxcore 2014-10-15 20:00:10 -04:00
irungentoo
9ef1be1b6f
Use monotonic time function already in toxcore. 2014-10-15 13:28:19 -04:00
irungentoo
3d1c0f0536
irc_syncbot now parse out NULL characters from the Tox groupchat. 2014-10-15 09:01:00 -04:00
Jfreegman
44a9375f2c
re-implement copy_chatlist function 2014-10-15 00:51:45 -04:00
irungentoo
6985353392
Added basic IRC group syncbot to testing. 2014-10-14 19:49:29 -04:00
irungentoo
97707a74fe
Add function to check if the peernumber is ours for group chats. 2014-10-14 19:43:54 -04:00
Maxim Biro
e8d7763e92 Don't fail when the binary is not found
Per Debian Policy Manual, paragraph 9.3.2: Writing the scripts.
2014-10-14 14:14:06 -04:00
irungentoo
b41eadf695
tox_count_chatlist() now works. 2014-10-13 20:27:13 -04:00
Maxim Biro
fd255ee6c5 Fixed a typo 2014-10-13 01:10:36 -04:00
Maxim Biro
2bdbc2bf1b Added some const-correctnessness 2014-10-13 00:59:00 -04:00
Maxim Biro
e677bbc89e Fixed a typo 2014-10-12 23:31:20 -04:00
Maxim Biro
1200e69a3f Added IPv4 fallback, made IPv6 and IPv4 fallback enabled by default 2014-10-12 23:22:25 -04:00
Maxim Biro
3d23982250 Fixed return value comment of new_networking function 2014-10-12 19:38:12 -04:00