Commit Graph

26 Commits

Author SHA1 Message Date
Julien Ropé
98d5b98465 Memory leak fixes.
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Marc-André Moreau
4419515a50 Merge branch 'master' of github.com:FreeRDP/FreeRDP into tsg 2012-05-05 18:42:51 -04:00
Julien Ropé
c1f7044693 Some fixes for potentials NULL pointer dereferences, and double-free of buffers 2012-05-04 15:50:33 +02:00
Marc-André Moreau
84a8cb7dba libfreerdp-core: merge TSG changes with master 2012-04-28 15:56:26 -04:00
Marc-André Moreau
97391dc782 libfreerdp-core: cleanup RTS header encoding 2012-04-19 15:43:20 -04:00
Marc-André Moreau
1961412941 libfreerdp-core: fix NTLM HTTP authentication 2012-04-19 11:29:53 -04:00
Marc-André Moreau
88b8380b4c libfreerdp-core: simplify HTTPS sending 2012-04-18 02:28:05 -04:00
Marc-André Moreau
fa7900d293 libfreerdp-core: start using HTTP utils for NTLM HTTP authentication 2012-04-16 16:21:46 -04:00
Raphaël Rigo
26e49f2860 fix issue #530 "NLA password asked after certificate refusal"
close connection when the certificate is not trusted
2012-04-10 22:30:54 +02:00
Raphal Rigo
02439d3168 fix TLS free logic, fixing double free in issue #531 2012-04-10 22:05:35 +02:00
Marc-André Moreau
fb0d09080d libfreerdp-core: start separating HTTP encoding methods (TSG) 2012-03-28 15:07:57 -04:00
Marc-André Moreau
f5b91f0b84 libfreerdp-core: start integrating terminal server gateway code 2012-03-26 02:45:01 -04:00
Marc-André Moreau
a89bd5cec3 libfreerdp-sspi: NTLM server-side pubKeyAuth sending 2012-03-18 20:08:05 -04:00
Marc-André Moreau
6c9ae5ddad wfreerdp: fix portability issues 2012-03-05 21:04:42 -05:00
Marc-André Moreau
386d815969 libfreerdp-crypto: integrate DER code from Jiten Pathy 2012-03-05 15:45:54 -05:00
Marc-André Moreau
2f582205a6 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-28 17:10:21 -05:00
Marc-André Moreau
fada84d029 wfreerdp: minor fixes 2012-02-28 17:10:06 -05:00
Pawel Jakub Dawidek
e40df3f093 Check for overflows. 2012-02-28 22:52:04 +01:00
Pawel Jakub Dawidek
9783247b25 Simplify code a bit. 2012-02-28 22:51:57 +01:00
Marc-André Moreau
32a54130e7 xfreerdp: fix multiple memory leaks detected by valgrind 2012-02-27 10:55:49 -05:00
Pawel Jakub Dawidek
59bd213cf0 Accept both TLSv1 and SSLv3 as a server.
This fixes SSL connections from Microsoft RDC for Mac OS X to FreeRDP server.
2012-02-23 00:40:25 +01:00
Pawel Jakub Dawidek
3a8dd077c8 On SSL error print all the errors from the stack. 2012-02-23 00:40:18 +01:00
Marc-Andr Moreau
60aac7aea3 wfreerdp: fix windows compilation 2012-02-20 21:56:55 -08:00
Marc-André Moreau
8cab067498 libfreerdp-auth: move authentication code out of libfreerdp-core 2012-02-17 17:12:21 -05:00
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00