Commit Graph

18 Commits (b89956d06e41321a4977dc1bea2d48e9d7619385)

Author SHA1 Message Date
Pavel Roskin 65ac8e758b Fix memory leak: free session data
Call scp_session_destroy() in the functions that call
scp_session_create() and nowhere else.

As found by Valgrind, the session data is not freed if the session is
created successfully.
8 years ago
Pavel Roskin aeeb3d2c2e Fix warnings detected by -Wwrite-strings 9 years ago
Pavel Roskin 1ded8ec437 Remove unused string support in scp_session_set_addr()
Using the same argument for binary and text data is not a good idea. If
string support is ever needed, it should be a separate function.

Remove SCP_ADDRESS_TYPE_IPV4_BIN and SCP_ADDRESS_TYPE_IPV6_BIN, use
SCP_ADDRESS_TYPE_IPV4 and SCP_ADDRESS_TYPE_IPV6, which simplifies the
code.
9 years ago
Jay Sorg a6cba63a89 fix a warning 9 years ago
Itamar Reis Peixoto 09a69fbec2 remove duplicated call to scp_session_set_bpp 9 years ago
Pavel Roskin 5d23d007e9 Check return value of scp_session_set_bpp() 9 years ago
Pavel Roskin 5de1d31a75 Change an unconditional #warning to a comment
Notes about software design should not be shown as warnings to everybody
who compiles the code. Warnings should be about unexpected conditions
detected at the compile time.
9 years ago
Laxmikant Rashinkar 1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
13 years ago
Jay Sorg 856783ba95 no logic changes, remove warnings and coding style changes 13 years ago
norrarvid 4d4ebbf363 Initial syslog support in XRDP 13 years ago
jsorg71 d83ebaa97a use do ... while (0) style for parse.h 15 years ago
jsorg71 8490a2b24b update copyright year 15 years ago
jsorg71 7136d457e9 remove some dead code 15 years ago
jsorg71 3417482d10 update copyright year 16 years ago
ilsimo 7c79298612 added first management code
added a rough management tool
fixes in session.c
17 years ago
ilsimo d14b076a70 still more work on logging
libscp makefile fix
17 years ago
jsorg71 cd57d1b689 update copyright year 17 years ago
ilsimo f22b5b42a7 making libscp a real library
some fixes in configuration options
18 years ago