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
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
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
Maxim Biro
09302e8909
Free ports when there are no valid ones
2014-10-12 19:21:22 -04:00
irungentoo
cfa142f471
Merge branch 'dubslow-master'
2014-10-12 19:01:21 -04:00
dubslow
57d3b3be05
Fix include issue
2014-10-12 03:11:11 -05:00
dubslow
458a09f6ab
Merge branch 'master' of https://github.com/irungentoo/toxcore
2014-10-12 02:29:34 -05:00
dubslow
ccfd777e35
apparently i forgot to add/commit these comments...
2014-10-12 02:28:18 -05:00
irungentoo
0444ca18df
Merge branch 'master' of https://github.com/stqism/ToxCore
2014-10-11 18:59:09 -04:00
irungentoo
3f855b2445
Merge branch 'master' of https://github.com/dubslow/toxcore
2014-10-10 22:07:43 -04:00
Sean Qureshi
2df986f6b9
Does a realloc with a size of 0 if every port is invalid
2014-10-10 18:23:23 -07:00
Sean Qureshi
532ace635a
Enable IPv6, fix systemd PID bug
2014-10-10 18:09:52 -07:00
dubslow
54fdf3bdd6
re-refactor to separate pass->key and key->encryption
2014-10-09 20:18:29 -05:00
irungentoo
d80ee91ae7
Relay peer kill messages too.
2014-10-09 15:49:56 -04:00
irungentoo
07523b7116
Merge branch 'patch-3' of https://github.com/stal888/toxcore
2014-10-09 11:36:50 -04:00
dubslow
e6f30694d3
refactor toxencryptedsave to allow passphrase encryption of arbitrary data
...
also a minor API change for clarity
2014-10-08 18:50:40 -05:00
irungentoo
12f41a4751
Merge branch 'master' of https://github.com/dubslow/toxcore
2014-10-08 14:22:21 -04:00
dubslow
eee37b5767
fix #1104
2014-10-07 21:53:04 -05:00
A. L'mao
366e737c36
readme.md: "goals of tox" -> "goals with tox"
2014-10-07 16:14:31 -07:00
irungentoo
3df5401186
Merge branch 'toxdns-header-fix' of https://github.com/nurupo/InsertProjectNameHere
2014-10-07 16:30:01 -04:00