FreeRDP/libfreerdp/core
Ondrej Holy 892cbe3261 Fix various memory leaks reported by Coverity
Covscan report contains various memory leak defects which were marked
as important. I have spent some time analyzing them and although they
were marked as important, most of them are in error cases, so probably
nothing serious. Let's fix most of them anyway. The rest are false
positives, or too complicated to fix, or already fixed in master, or
simply I am unsure about them.

Relates: https://github.com/FreeRDP/FreeRDP/issues/6981
2021-04-27 14:25:20 +02:00
..
gateway Fix various memory leaks reported by Coverity 2021-04-27 14:25:20 +02:00
test Added version to client log, removed build_date 2021-04-22 14:07:37 +02:00
activation.c Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks 2020-11-20 09:39:25 +01:00
activation.h Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks 2020-11-20 09:39:25 +01:00
autodetect.c core: Enable network auto detection by default 2021-02-04 15:23:57 +01:00
autodetect.h Reformatted to new style 2019-11-07 10:53:54 +01:00
bulk.c Cleaned up bulk_compress/decompress, prettified log. 2020-03-10 14:05:10 +01:00
bulk.h Refactored bulk compression 2020-03-10 14:05:10 +01:00
capabilities.c reverted changes from clang-format 2021-02-25 14:05:40 +01:00
capabilities.h Fixed tpkt header length checks. 2020-03-02 11:40:35 +01:00
certificate.c Added const to function arguments 2021-02-17 11:29:56 +01:00
certificate.h Added const to function arguments 2021-02-17 11:29:56 +01:00
channels.c Unify pReceiveChannelData and psPeerReceiveChannelData 2020-03-10 12:21:14 +01:00
channels.h Fixed conversion and return checks. 2020-03-04 14:44:03 +01:00
client.c core: Clear message queue to reset its closed state 2021-04-08 14:01:50 +02:00
client.h Cleanup internal channel management 2020-10-29 15:53:32 +01:00
CMakeLists.txt libfreerdp/core: Export monitor layout PDU 2019-06-03 14:30:17 +03:00
codecs.c reverted olf signature for rfx_context_new 2021-03-30 11:03:15 +03:00
connection.c Revert "Revert "allow to use in single threaded mode" (#6864)" 2021-03-26 11:50:45 +01:00
connection.h Fixed missing check for fastpath input messages 2021-01-23 16:12:29 +01:00
display.c Remove symbols exported by accident. 2019-12-02 10:57:31 +01:00
display.h Reformatted to new style 2019-11-07 10:53:54 +01:00
errbase.c Reformatted to new style 2019-11-07 10:53:54 +01:00
errconnect.c Reformatted to new style 2019-11-07 10:53:54 +01:00
errinfo.c Removed obsolete connectErrorCode 2020-09-16 10:21:15 +02:00
errinfo.h Added function to get an error category for better error handling. 2019-10-03 11:19:03 +02:00
fastpath.c Merge pull request #6601 from akallabeth/clip_file 2021-01-25 10:26:30 +01:00
fastpath.h Fixed missing check for fastpath input messages 2021-01-23 16:12:29 +01:00
freerdp.c Added version to client log, removed build_date 2021-04-22 14:07:37 +02:00
gcc.c Fixed CodeQL warnings 2021-02-19 11:19:49 +01:00
gcc.h Added const to function arguments 2021-02-17 11:29:56 +01:00
graphics.c Reformatted to new style 2019-11-07 10:53:54 +01:00
graphics.h Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
heartbeat.c libfreerdp: core: add ServerHeartbeat callback 2020-07-07 09:57:53 +02:00
heartbeat.h libfreerdp: core: add ServerHeartbeat callback 2020-07-07 09:57:53 +02:00
info.c Fix various memory leaks reported by Coverity 2021-04-27 14:25:20 +02:00
info.h Remove symbols exported by accident. 2019-12-02 10:57:31 +01:00
input.c Reformatted to new style 2019-11-07 10:53:54 +01:00
input.h Fixed capability checks for mouse and unicode input. 2017-07-31 12:30:35 +02:00
license.c Added const to function arguments 2021-02-17 11:29:56 +01:00
license.h Reformatted to new style 2019-11-07 10:53:54 +01:00
listener.c Allow parallel listen to IPv4 and v6 addresses (#6816) 2021-02-15 11:19:58 +01:00
listener.h Reformatted to new style 2019-11-07 10:53:54 +01:00
mcs.c Added const to function arguments 2021-02-17 11:29:56 +01:00
mcs.h Remove symbols exported by accident. 2019-12-02 10:57:31 +01:00
message.c Fixed warnings. 2020-08-10 12:26:46 +02:00
message.h Added RDP 10.7 large pointer support 2019-12-19 09:53:40 +01:00
metrics.c Reformatted to new style 2019-11-07 10:53:54 +01:00
multitransport.c Reformatted to new style 2019-11-07 10:53:54 +01:00
multitransport.h Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
nego.c Added const to function arguments 2021-02-17 11:29:56 +01:00
nego.h Added const to function arguments 2021-02-17 11:29:56 +01:00
nla.c core/nla: fix order of operations 2020-10-06 17:19:38 +02:00
nla.h Reformatted to new style 2019-11-07 10:53:54 +01:00
orders.c Fixed default return for DrawOrderInfo 2021-01-28 14:08:35 +01:00
orders.h Fixed invalid access in update_recv_primary_order 2020-06-22 11:51:38 +02:00
peer.c Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks 2020-11-20 09:39:25 +01:00
peer.h Reformatted to new style 2019-11-07 10:53:54 +01:00
proxy.c Fixed #6656: invalid read of proxy port. 2020-12-10 07:38:25 +01:00
proxy.h Remove symbols exported by accident. 2019-12-02 10:57:31 +01:00
rdp.c Added ConnectionStateChangeEvent for clients 2021-02-11 10:41:28 +01:00
rdp.h Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks 2020-11-20 09:39:25 +01:00
redirection.c Reformatted to new style 2019-11-07 10:53:54 +01:00
redirection.h Reformatted to new style 2019-11-07 10:53:54 +01:00
security.c Lock remaining occurances of security_encrypt/security_decrypt variables 2020-06-02 13:31:17 +02:00
security.h Reformatted to new style 2019-11-07 10:53:54 +01:00
server.c server: ignore unknown channelId received from client. 2021-02-15 11:01:39 +01:00
server.h Reformatted to new style 2019-11-07 10:53:54 +01:00
settings.c Added option to disable gateway websocket support 2021-03-08 14:33:05 +01:00
settings.h Added getter/setter for settings 2021-03-01 11:03:52 +01:00
surface.c Cleaned up reading of orders 2020-11-23 12:50:26 +01:00
surface.h Fix sending/receiving surface bits command. 2020-04-03 12:00:53 +02:00
tcp.c cleanup of https://github.com/FreeRDP/FreeRDP/pull/6448 (#6455) 2020-09-02 13:37:04 +02:00
tcp.h cleanup of https://github.com/FreeRDP/FreeRDP/pull/6448 (#6455) 2020-09-02 13:37:04 +02:00
timezone.c Reformatted to new style 2019-11-07 10:53:54 +01:00
timezone.h Reformatted to new style 2019-11-07 10:53:54 +01:00
tpdu.c core: fix invalid inttype and reference 2020-07-20 13:18:45 +02:00
tpdu.h Added tpkt header length plausibility checks. 2020-03-02 11:40:35 +01:00
tpkt.c Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks 2020-11-20 09:39:25 +01:00
tpkt.h Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks 2020-11-20 09:39:25 +01:00
transport.c transport: Don't ask for credentials if empty password is specified 2021-01-25 11:04:58 +01:00
transport.h cleanup of https://github.com/FreeRDP/FreeRDP/pull/6448 (#6455) 2020-09-02 13:37:04 +02:00
update.c Fixed invalid access in update_recv_primary_order 2020-06-22 11:51:38 +02:00
update.h Added RDP 10.7 large pointer support 2019-12-19 09:53:40 +01:00
window.c Allow icon info with empty bitmap data. 2020-04-09 18:00:51 +02:00
window.h Reformatted to new style 2019-11-07 10:53:54 +01:00