Commit graph

807 commits

Author SHA1 Message Date
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
antma
35923482bc close /etc/passwd file handle right after evaluating home directory 2014-01-10 15:40:28 +04:00
antma
bb24fba98f 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
e416d5cf7e Merge github.com:vysheng/tg 2014-01-02 22:53:58 +04:00
Vysheng
2cfe58c1a9 fixed acks 2014-01-02 22:52:41 +04:00
vysheng
567afd1aa5 fixed Typo in Readme 2013-12-26 19:08:35 +03:00
vysheng
df3dc01306 Fixed CE 2013-12-25 13:07:10 +04:00
vysheng
cb29ce4523 Some other things changed to secure_random 2013-12-25 12:56:46 +04:00
vysheng
5ea4683d16 Fixed secure random. 2013-12-25 12:35:13 +04:00
vysheng
5cde89b5c8 do_rand () renamed to secure_random () 2013-12-25 04:44:36 +04:00
vysheng
f8793376a5 Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats) 2013-12-25 03:42:05 +04:00
vysheng
820ccce220 Fixed autocompete in send_document 2013-12-24 15:58:31 +04:00
vysheng
73b17ee19d Added more checks on g_a and g 2013-12-24 15:29:18 +04:00
vysheng
3421589432 Support for layer 11 2013-12-24 04:57:01 +04:00
vysheng
98a6fcb821 Update README.md 2013-12-24 00:22:44 +03:00
Vysheng
0396571877 DH: added check for bad prime in encr chats 2013-12-23 15:13:43 +04:00
Vysheng
b13434e378 Fixed check g_a in encr chats 2013-12-23 15:10:53 +04:00
Vysheng
64a804ffc5 Merge github.com:vysheng/tg 2013-12-23 14:46:16 +04:00
Vysheng
59a82bbfe9 Additional checks in DH 2013-12-23 14:45:40 +04:00
Vysheng
89ee6e1002 Support for g!=2 in DH 2013-12-23 14:09:57 +04:00
vysheng
9b67354294 Added safe_quit query. Useful in pipe mode 2013-12-21 15:53:32 +04:00
vysheng
93fec1d7a7 configure.ac: fixed duplicate "no" answer 2013-12-21 15:46:25 +04:00
vysheng
3ff3550a58 Update README.md 2013-12-21 03:00:35 +03:00
vysheng
5afafe7290 Merge pull request #31 from lwhsu/master
Integrate Travis CI
2013-12-20 13:15:41 -08:00
Li-Wen Hsu
a0a628963e Use syntax that Bourne shell also supports 2013-12-21 04:13:53 +08:00
Li-Wen Hsu
9f8679b1a3 Add build status icon 2013-12-21 03:42:24 +08:00
Li-Wen Hsu
d980e1630d Use sudo 2013-12-21 03:33:04 +08:00
Li-Wen Hsu
c798191b74 Install prerequisites 2013-12-21 03:30:48 +08:00
Li-Wen Hsu
9f758a772f Use Travis CI 2013-12-21 02:43:21 +08:00
Vysheng
03bd7f55a9 Fixed bug in document loading 2013-12-20 19:45:59 +04:00
vysheng
0275f7e970 Add -lexecinfo if no bt found 2013-12-20 18:25:22 +04:00
vysheng
20f1c7629b Merge BSD-fixed from lwhsu 2013-12-20 17:57:00 +04:00
vysheng
6e39eead6f Merge https://github.com/lwhsu/tg 2013-12-20 17:44:30 +04:00
Vysheng
e439bef899 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00
Li-Wen Hsu
edc4d2eba1 Insert newlines and some words for markdown formating 2013-12-19 02:37:46 +08:00
Li-Wen Hsu
c05bb7599b Add instructions to build on FreeBSD 2013-12-19 02:26:29 +08:00
Li-Wen Hsu
7c42025800 Clean up more generated files 2013-12-19 02:25:34 +08:00
Li-Wen Hsu
715378408b Remove generated files and add .gitignore 2013-12-19 02:19:37 +08:00
Li-Wen Hsu
0d80f5e298 Restore flags not supported by gcc 4.2 2013-12-19 02:17:21 +08:00
Li-Wen Hsu
cacf0582bc Define _GNU_SOURCE for getline(3) 2013-12-19 02:14:40 +08:00
vysheng
658c45c94c Fixed time format in logs 2013-12-18 21:57:51 +04:00
vysheng
cd3c22fa66 Fixed log 2013-12-18 19:42:53 +04:00
vysheng
3b033ea3ff Added dump packets to file 2013-12-18 19:21:49 +04:00
Li-Wen Hsu
bb53f75e2b Make it compile on FreeBSD. 2013-12-17 02:30:36 +08:00
Vysheng
7a3ef6d624 Updated help 2013-12-06 21:16:17 +04:00
Vysheng
4e2e651e2a Added chat_with_peer command 2013-12-06 21:14:41 +04:00
Vysheng
1198159162 Fixed bug 2013-12-06 20:40:52 +04:00
Vysheng
bc7887b5df main: added [-B] key 2013-12-03 15:44:14 +04:00