vysheng
e9ef765285
Merge pull request #42 from antma/master
...
AES_KEY structure clean up
2014-01-24 06:00:21 -08:00
antma
d8b16d5738
AES_KEY structure clean up
2014-01-23 19:49:57 +04:00
Alejandro Leiva
9f7aede32e
Fixed typo in linux lib install instructions in README.md
2014-01-23 10:47:45 +01:00
vysheng
022bd69839
Merge pull request #40 from antma/master
...
fix very small memory leaks
2014-01-21 07:09:16 -08:00
antma
2a817354ff
fix free in the hypotetic case when binlog message contain NUL character in the middle
2014-01-21 18:36:46 +04:00
antma
33dac4b4a3
fix memory leak during replaying CODE_binlog_set_chat_title
2014-01-21 18:26:56 +04:00
antma
ceb9422ae9
add check that BN_is_prime return value is not negative
...
fix memory leak (BN_clear doesn't release allocated memory)
2014-01-21 18:24:40 +04:00
antma
14a2c032eb
Merge remote-tracking branch 'upstream/master'
2014-01-21 17:46:41 +04:00
vysheng
115d634c37
Merge pull request #39 from antma/master
...
improve portability by removing rdtsc calls
2014-01-21 03:35:12 -08:00
antma
8e48cbe154
Merge remote-tracking branch 'upstream/master'
2014-01-20 12:57:20 +04:00
vysheng
ccfc81da88
Fixed get_peer from lua
2014-01-17 19:46:33 +00:00
vysheng
5069568590
Fixed load audio
2014-01-17 18:16:35 +04:00
antma
b855a73473
use rdtsc for seeding prng only at i386 and x86_64 platforms
...
https://github.com/vysheng/tg/issues/8
2014-01-17 16:19:12 +04:00
antma
c91d47839c
improve portability by removing rdtsc calls
...
https://github.com/vysheng/tg/issues/8
2014-01-15 19:29:26 +04:00
vysheng
11b68d0cb8
Merge branch 'master' of github.com:vysheng/tg
2014-01-15 16:12:13 +04:00
vysheng
48c2619bf8
strutures.c: fixed bad flags in get chat query
2014-01-15 16:10:52 +04:00
vysheng
54144b5f1c
Update README.md
2014-01-15 15:04:59 +03:00
vysheng
716181f290
Merge pull request #38 from antma/master
...
fix sending a lot of spaces in version string
2014-01-14 03:37:19 -08:00
antma
2c05a3c65a
fix sending a lot of spaces in version string
2014-01-14 14:46:13 +04:00
vysheng
f06c96fa73
restored _GNU_SOURCE for getline in FreeBSD
2014-01-13 16:58:14 +03:00
vysheng
d2fe51d0ef
Merge pull request #37 from antma/master
...
checks strndup result & enhance configure.ac
2014-01-13 05:57:22 -08:00
antma
fdaca01c59
fix some autoscan warnings
2014-01-13 17:28:24 +04:00
antma
622dec3e70
remove useless #define _GNU_SOURCE from not using asprintf sources
2014-01-13 17:12:39 +04:00
antma
eb2bc7f0ff
fix #include "config.h" for all source files
2014-01-13 17:05:25 +04:00
antma
850c5f8eb5
don't output backtrace in out of memory case
2014-01-13 16:36:29 +04:00
antma
4ccacb146c
add functions tstrndup (auto check return value of strndup calls)
2014-01-13 16:26:48 +04:00
antma
46163db14d
fix small memory leaks in the function do_send_photo for the cases of invalid, empty or large file
2014-01-13 16:09:33 +04:00
Vysheng
39ed32ec57
Fixed travis.yml
2014-01-12 04:56:36 +04:00
Vysheng
c23d34ca14
Fixed travis.yml
2014-01-12 04:44:47 +04:00
Vysheng
497a45f04d
Added sample lua script
2014-01-12 04:43:56 +04:00
Vysheng
90dd95392f
Added partial lua support
2014-01-12 04:43:29 +04:00
Vysheng
3714035357
tools.c: deleted unneeded arrays
2014-01-11 20:03:02 +04:00
Vysheng
4d8dc59e87
structures.h: added del_use
2014-01-11 20:01:01 +04:00
Vysheng
8c3953f84f
tools: added more debug
2014-01-11 20:00:31 +04:00
Vysheng
e22eff09dd
binlog.c: fixed tfree len
2014-01-11 03:26:53 +04:00
vysheng
0a9532dc48
Merge branch 'master' of https://github.com/antma/tg
...
Conflicts:
tools.c
2014-01-10 21:16:26 +04:00
vysheng
4a9eedba81
Fixed warning
2014-01-10 21:13:27 +04:00
antma
afdcd9b7df
fix missed inflateEnd call and enhance handling inflate return value
2014-01-10 20:54:47 +04:00
antma
3ec80b7ac7
enhance portability (replace void* by char*)
...
When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
2014-01-10 19:04:27 +04:00
vysheng
feed5229b5
free->tfree. Memory checks, if compiled with -DDEBUG
2014-01-10 18:37:56 +04:00
vysheng
692c9274ce
realloc->trealloc
2014-01-10 17:08:12 +04:00
vysheng
fad27bbd39
Fixed CE. Fixed tree.h to use talloc
2014-01-10 17:03:47 +04:00
vysheng
13e8996028
Merge pull request #34 from antma/master
...
improve code's style modications
2014-01-10 05:00:49 -08:00
antma
f2f4153d00
add field limit for sscanf call (fix libc versions older than 2.13-25)
2014-01-10 16:37:07 +04:00
antma
c9c8daac45
checking sizeof (void) at the runtime
2014-01-10 16:30:56 +04:00
antma
e8943b5aa1
remove undefined behavior flush (stdin) call
...
http://stackoverflow.com/questions/2979209/using-fflushstdin
2014-01-10 16:21:34 +04:00
antma
70441cfcdf
replace sprintf call with snprintf for open image command
2014-01-10 16:15:59 +04:00
antma
206fa43232
replace sprintf call with snprintf for downloaded part name
2014-01-10 16:05:39 +04:00
antma
e1c750ad7f
add length modifier to the format for strings in sprintf call
2014-01-10 15:59:48 +04:00
antma
933a65c335
fix small memory leak in running_for_first_time (local variable config_directory)
2014-01-10 15:46:46 +04:00