Commit Graph

1113 Commits

Author SHA1 Message Date
vysheng
ccc76dd982 Fixed CE. Fixed tree.h to use talloc 2014-01-10 17:03:47 +04:00
vysheng
2d89884be9 Merge pull request #34 from antma/master
improve code's style modications
2014-01-10 05:00:49 -08:00
antma
52ee21f188 add field limit for sscanf call (fix libc versions older than 2.13-25) 2014-01-10 16:37:07 +04:00
antma
136dbd0093 checking sizeof (void) at the runtime 2014-01-10 16:30:56 +04:00
antma
365ebd3ecd remove undefined behavior flush (stdin) call
http://stackoverflow.com/questions/2979209/using-fflushstdin
2014-01-10 16:21:34 +04:00
antma
20d8954732 replace sprintf call with snprintf for open image command 2014-01-10 16:15:59 +04:00
antma
35f981d519 replace sprintf call with snprintf for downloaded part name 2014-01-10 16:05:39 +04:00
antma
c15579713c add length modifier to the format for strings in sprintf call 2014-01-10 15:59:48 +04:00
antma
4769197f11 fix small memory leak in running_for_first_time (local variable config_directory) 2014-01-10 15:46:46 +04:00
antma
83af542d50 close /etc/passwd file handle right after evaluating home directory 2014-01-10 15:40:28 +04:00
antma
3795a77618 check return values of strdup and malloc
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00
Vysheng
de70e4314c Merge github.com:vysheng/tg 2014-01-02 22:53:58 +04:00
Vysheng
3c629b2263 fixed acks 2014-01-02 22:52:41 +04:00
vysheng
c68c916271 fixed Typo in Readme 2013-12-26 19:08:35 +03:00
vysheng
780320ee5d Fixed CE 2013-12-25 13:07:10 +04:00
vysheng
874aace355 Some other things changed to secure_random 2013-12-25 12:56:46 +04:00
vysheng
484e1c30e8 Fixed secure random. 2013-12-25 12:35:13 +04:00
vysheng
7a5fa39f84 do_rand () renamed to secure_random () 2013-12-25 04:44:36 +04:00
vysheng
b2ba81e761 Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats) 2013-12-25 03:42:05 +04:00
vysheng
d94786957b Fixed autocompete in send_document 2013-12-24 15:58:31 +04:00
vysheng
c496266598 Added more checks on g_a and g 2013-12-24 15:29:18 +04:00
vysheng
f11ae1983f Support for layer 11 2013-12-24 04:57:01 +04:00
vysheng
381c9b3247 Update README.md 2013-12-24 00:22:44 +03:00
Vysheng
dbffe269fa DH: added check for bad prime in encr chats 2013-12-23 15:13:43 +04:00
Vysheng
2ddd7a1d71 Fixed check g_a in encr chats 2013-12-23 15:10:53 +04:00
Vysheng
efc7673ac8 Merge github.com:vysheng/tg 2013-12-23 14:46:16 +04:00
Vysheng
1dcbce52e8 Additional checks in DH 2013-12-23 14:45:40 +04:00
Vysheng
664e6e1549 Support for g!=2 in DH 2013-12-23 14:09:57 +04:00
vysheng
069fe471ed Added safe_quit query. Useful in pipe mode 2013-12-21 15:53:32 +04:00
vysheng
649efc2737 configure.ac: fixed duplicate "no" answer 2013-12-21 15:46:25 +04:00
vysheng
275eb68b08 Update README.md 2013-12-21 03:00:35 +03:00
vysheng
be596ed930 Merge pull request #31 from lwhsu/master
Integrate Travis CI
2013-12-20 13:15:41 -08:00
Li-Wen Hsu
0720432522 Use syntax that Bourne shell also supports 2013-12-21 04:13:53 +08:00
Li-Wen Hsu
84e997be63 Add build status icon 2013-12-21 03:42:24 +08:00
Li-Wen Hsu
251d188767 Use sudo 2013-12-21 03:33:04 +08:00
Li-Wen Hsu
32694cf4f2 Install prerequisites 2013-12-21 03:30:48 +08:00
Li-Wen Hsu
d6191a56a3 Use Travis CI 2013-12-21 02:43:21 +08:00
Vysheng
c9346a75f3 Fixed bug in document loading 2013-12-20 19:45:59 +04:00
vysheng
25922000de Add -lexecinfo if no bt found 2013-12-20 18:25:22 +04:00
vysheng
5cae1a7f3d Merge BSD-fixed from lwhsu 2013-12-20 17:57:00 +04:00
vysheng
29ed574e3c Merge https://github.com/lwhsu/tg 2013-12-20 17:44:30 +04:00
Vysheng
41fc7c2278 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00
Li-Wen Hsu
d9526567de Insert newlines and some words for markdown formating 2013-12-19 02:37:46 +08:00
Li-Wen Hsu
6b70f49047 Add instructions to build on FreeBSD 2013-12-19 02:26:29 +08:00
Li-Wen Hsu
cdd0d2c457 Clean up more generated files 2013-12-19 02:25:34 +08:00
Li-Wen Hsu
6d57dd89ad Remove generated files and add .gitignore 2013-12-19 02:19:37 +08:00
Li-Wen Hsu
3f48c7dc13 Restore flags not supported by gcc 4.2 2013-12-19 02:17:21 +08:00
Li-Wen Hsu
1339a4adad Define _GNU_SOURCE for getline(3) 2013-12-19 02:14:40 +08:00
vysheng
47174fe7ec Fixed time format in logs 2013-12-18 21:57:51 +04:00
vysheng
16c49b539d Fixed log 2013-12-18 19:42:53 +04:00