Commit Graph

  • 5de0d75942 add functions tstrndup (auto check return value of strndup calls) antma 2014-01-13 16:26:48 +04:00
  • 2724878bfc fix small memory leaks in the function do_send_photo for the cases of invalid, empty or large file antma 2014-01-13 16:09:33 +04:00
  • 06a26ebc90 Fixed travis.yml Vysheng 2014-01-12 04:56:36 +04:00
  • a7a702eb52 Fixed travis.yml Vysheng 2014-01-12 04:44:47 +04:00
  • a664edcdfe Added sample lua script Vysheng 2014-01-12 04:43:56 +04:00
  • 6b0d354e69 Added partial lua support Vysheng 2014-01-12 04:43:29 +04:00
  • 4b92fc1c7f tools.c: deleted unneeded arrays Vysheng 2014-01-11 20:03:02 +04:00
  • b10194c0d0 structures.h: added del_use Vysheng 2014-01-11 20:01:01 +04:00
  • 914490cf20 tools: added more debug Vysheng 2014-01-11 20:00:31 +04:00
  • accba9b5e5 binlog.c: fixed tfree len Vysheng 2014-01-11 03:26:53 +04:00
  • 77f56cfd57 Merge branch 'master' of https://github.com/antma/tg vysheng 2014-01-10 21:16:26 +04:00
  • 3c3f1e795b Fixed warning vysheng 2014-01-10 21:13:27 +04:00
  • 286ffe8c72 fix missed inflateEnd call and enhance handling inflate return value antma 2014-01-10 20:54:47 +04:00
  • d2460a8a90 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. antma 2014-01-10 19:04:27 +04:00
  • f06d3c1625 free->tfree. Memory checks, if compiled with -DDEBUG vysheng 2014-01-10 18:37:56 +04:00
  • a97603031c realloc->trealloc vysheng 2014-01-10 17:08:12 +04:00
  • ccc76dd982 Fixed CE. Fixed tree.h to use talloc vysheng 2014-01-10 17:03:47 +04:00
  • 2d89884be9 Merge pull request #34 from antma/master vysheng 2014-01-10 05:00:49 -08:00
  • 52ee21f188 add field limit for sscanf call (fix libc versions older than 2.13-25) antma 2014-01-10 16:37:07 +04:00
  • 136dbd0093 checking sizeof (void) at the runtime antma 2014-01-10 16:30:56 +04:00
  • 365ebd3ecd remove undefined behavior flush (stdin) call http://stackoverflow.com/questions/2979209/using-fflushstdin antma 2014-01-10 16:21:34 +04:00
  • 20d8954732 replace sprintf call with snprintf for open image command antma 2014-01-10 16:15:59 +04:00
  • 35f981d519 replace sprintf call with snprintf for downloaded part name antma 2014-01-10 16:05:39 +04:00
  • c15579713c add length modifier to the format for strings in sprintf call antma 2014-01-10 15:59:48 +04:00
  • 4769197f11 fix small memory leak in running_for_first_time (local variable config_directory) antma 2014-01-10 15:46:46 +04:00
  • 83af542d50 close /etc/passwd file handle right after evaluating home directory antma 2014-01-10 15:40:28 +04:00
  • 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 antma 2014-01-10 15:32:57 +04:00
  • de70e4314c Merge github.com:vysheng/tg Vysheng 2014-01-02 22:53:58 +04:00
  • 3c629b2263 fixed acks Vysheng 2014-01-02 22:52:41 +04:00
  • c68c916271 fixed Typo in Readme vysheng 2013-12-26 19:08:35 +03:00
  • 780320ee5d Fixed CE vysheng 2013-12-25 13:07:10 +04:00
  • 874aace355 Some other things changed to secure_random vysheng 2013-12-25 12:56:46 +04:00
  • 484e1c30e8 Fixed secure random. vysheng 2013-12-25 12:35:13 +04:00
  • 7a5fa39f84 do_rand () renamed to secure_random () vysheng 2013-12-25 04:44:36 +04:00
  • b2ba81e761 Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats) vysheng 2013-12-25 03:42:05 +04:00
  • d94786957b Fixed autocompete in send_document vysheng 2013-12-24 15:58:31 +04:00
  • c496266598 Added more checks on g_a and g vysheng 2013-12-24 15:29:18 +04:00
  • f11ae1983f Support for layer 11 vysheng 2013-12-24 04:57:01 +04:00
  • 381c9b3247 Update README.md vysheng 2013-12-24 00:22:44 +03:00
  • dbffe269fa DH: added check for bad prime in encr chats Vysheng 2013-12-23 15:13:43 +04:00
  • 2ddd7a1d71 Fixed check g_a in encr chats Vysheng 2013-12-23 15:10:53 +04:00
  • efc7673ac8 Merge github.com:vysheng/tg Vysheng 2013-12-23 14:46:16 +04:00
  • 1dcbce52e8 Additional checks in DH Vysheng 2013-12-23 14:45:40 +04:00
  • 664e6e1549 Support for g!=2 in DH Vysheng 2013-12-23 14:09:57 +04:00
  • 069fe471ed Added safe_quit query. Useful in pipe mode vysheng 2013-12-21 15:53:32 +04:00
  • 649efc2737 configure.ac: fixed duplicate "no" answer vysheng 2013-12-21 15:46:25 +04:00
  • 275eb68b08 Update README.md vysheng 2013-12-21 03:00:35 +03:00
  • be596ed930 Merge pull request #31 from lwhsu/master vysheng 2013-12-20 13:15:41 -08:00
  • 0720432522 Use syntax that Bourne shell also supports Li-Wen Hsu 2013-12-21 04:13:53 +08:00
  • 84e997be63 Add build status icon Li-Wen Hsu 2013-12-21 03:42:24 +08:00
  • 251d188767 Use sudo Li-Wen Hsu 2013-12-21 03:33:04 +08:00
  • 32694cf4f2 Install prerequisites Li-Wen Hsu 2013-12-21 03:30:48 +08:00
  • d6191a56a3 Use Travis CI Li-Wen Hsu 2013-12-21 02:43:21 +08:00
  • c9346a75f3 Fixed bug in document loading Vysheng 2013-12-20 19:45:59 +04:00
  • 25922000de Add -lexecinfo if no bt found vysheng 2013-12-20 18:25:22 +04:00
  • 5cae1a7f3d Merge BSD-fixed from lwhsu vysheng 2013-12-20 17:57:00 +04:00
  • 29ed574e3c Merge https://github.com/lwhsu/tg vysheng 2013-12-20 17:44:30 +04:00
  • 41fc7c2278 added /read and /history in chat_with_peer mode Vysheng 2013-12-20 02:50:31 +04:00
  • d9526567de Insert newlines and some words for markdown formating Li-Wen Hsu 2013-12-19 02:37:46 +08:00
  • 6b70f49047 Add instructions to build on FreeBSD Li-Wen Hsu 2013-12-19 02:26:29 +08:00
  • cdd0d2c457 Clean up more generated files Li-Wen Hsu 2013-12-19 02:25:34 +08:00
  • 6d57dd89ad Remove generated files and add .gitignore Li-Wen Hsu 2013-12-19 02:19:37 +08:00
  • 3f48c7dc13 Restore flags not supported by gcc 4.2 Li-Wen Hsu 2013-12-19 02:17:21 +08:00
  • 1339a4adad Define _GNU_SOURCE for getline(3) Li-Wen Hsu 2013-12-19 01:58:51 +08:00
  • 47174fe7ec Fixed time format in logs vysheng 2013-12-18 21:57:51 +04:00
  • 16c49b539d Fixed log vysheng 2013-12-18 19:42:53 +04:00
  • 28dd0f0e46 Added dump packets to file vysheng 2013-12-18 19:21:49 +04:00
  • efdaafe0b2 Make it compile on FreeBSD. Li-Wen Hsu 2013-12-17 02:30:36 +08:00
  • d39a4e43c6 Updated help Vysheng 2013-12-06 21:16:17 +04:00
  • 9ebb3f7370 Added chat_with_peer command Vysheng 2013-12-06 21:14:41 +04:00
  • 2c9e51b4af Fixed bug Vysheng 2013-12-06 20:40:52 +04:00
  • be7ec363ae main: added [-B] key Vysheng 2013-12-03 15:44:14 +04:00
  • bfc7a7e157 Merge github.com:vysheng/tg Vysheng 2013-12-02 21:19:45 +04:00
  • 8a39f039b0 Many fixes. Vysheng 2013-12-02 21:19:08 +04:00
  • 2426f8f7ad main.c: fixed CE on 32-bit systems vysheng 2013-12-02 19:11:05 +04:00
  • b1b4cd8b21 interface: added auto-completion for modifiers (only [offline] for now) Vysheng 2013-11-30 22:52:13 +04:00
  • ef8de029a5 binlog.c/binlog.h: added GPL headers Vysheng 2013-11-30 14:12:51 +04:00
  • 12b9882aae fixed binlog problems. Set lock on binlog Vysheng 2013-11-30 03:15:10 +04:00
  • 8bc40adffb Merge github.com:vysheng/tg Vysheng 2013-11-30 01:44:16 +04:00
  • 725c6669a7 Manty fixes. Mostly binlog for messages Vysheng 2013-11-30 01:43:56 +04:00
  • 4b55f8f5b8 fixed CE on 32-bit systems vysheng 2013-11-30 00:43:36 +03:00
  • f2c77bdcaf Merge pull request #16 from dannluciano/patch-1 vysheng 2013-11-29 13:42:40 -08:00
  • 273320fd08 Merge pull request #18 from dannluciano/master vysheng 2013-11-29 13:42:06 -08:00
  • a1a34b8a47 Added open support in OS X. Dann Luciano 2013-11-29 19:33:05 -02:00
  • 6f65d03220 Update README.md Dann Luciano 2013-11-28 17:49:20 -02:00
  • d095e607c2 fixed detailed info Vysheng 2013-11-25 21:21:08 +04:00
  • d96450cd09 Added [offline] modifier Vysheng 2013-11-25 21:16:34 +04:00
  • 168c6b7a05 added chat info to binlog Vysheng 2013-11-25 20:13:36 +04:00
  • 20adb1af7c Merge github.com:vysheng/tg Vysheng 2013-11-23 03:27:06 +04:00
  • 6fea158478 Chats added to binlog Vysheng 2013-11-23 03:26:35 +04:00
  • af2a0b717b Merge pull request #15 from tazhate/help vysheng 2013-11-22 12:48:02 -08:00
  • 9247d2d7be fixed h1 tazhate 2013-11-22 23:51:58 +04:00
  • 66e26f9a7a new format of readme tazhate 2013-11-22 23:49:59 +04:00
  • 3848f4c22c added info about completion tazhate 2013-11-22 23:36:37 +04:00
  • 03662e35af Merge github.com:vysheng/tg Vysheng 2013-11-22 21:49:07 +04:00
  • 976c23f3ed Fixed (probable) bug with updateChatParticipants Vysheng 2013-11-22 21:48:23 +04:00
  • 8ccc6e5432 Merge pull request #14 from tazhate/help vysheng 2013-11-22 09:42:38 -08:00
  • 1a5dc0e76d added chat options to readme tazhate 2013-11-22 12:34:29 +04:00
  • f4ac638c72 Fixed binlog. Added state file to binlog Vysheng 2013-11-22 01:40:31 +04:00
  • bfd536431b Fixed bugs. Probably now something works Vysheng 2013-11-21 23:54:06 +04:00