Commit Graph

38 Commits

Author SHA1 Message Date
Denis Skvortsov 5ae11e2a37 Harden stream bounds checks against pointer-arithmetic overflow 2026-07-25 17:46:28 +03:00
matt335672 6a5d858dce xrdpapi: Add a way to get client connect status
Functions are added to xrdpapi to allows the connection status
to be determimed. These functions are modelled on the Windows API
functions, but are not compatible with them. In particular, the error
handling is different.

A way for an application to receive events is also provided. At present,
only connect/disconnected events are implemented.
2025-12-15 11:26:21 +00:00
Koichiro Iwao 47d4ab1339 Apply astyle 3.4 code formatter 2024-02-08 15:52:54 +09:00
matt335672 0758fe03a6 Add UTF-16 LE I/O routines
These are intended to replace UTF-16 uses of mbstowcs() / wcstombs()
2023-10-18 10:07:49 +01:00
matt335672 e6c098e750 Remove s_check() macro 2022-02-09 10:18:15 +00:00
matt335672 d32953c405 Parse DEVICE_ANNOUNCE header correctly 2021-09-08 11:33:43 +01:00
matt335672 09d4e1db14 Fixes --enable-devel-streamcheck 2021-06-02 15:52:49 +01:00
matt335672 c714a555bd Added in --enable-devel-streamcheck 2021-05-28 10:57:12 +01:00
Alexandre Quesnel bb9d3079c0 Fixing formatting with astyle in common/* 2021-03-14 23:33:31 +00:00
aquesnel 0ec471b02d Add detailed logging to libxrdp (#1742)
* Added s_rem(s) for getting the remaining bytes in a stream
* Added s_rem_out() macro
* Fixed 15bpp pointer error checking
* Combined the 512 and 2048 bit certificate sending  code paths
* Other detailed comments and logging added following MS-RDPBCGR
2021-02-04 10:11:54 +00:00
Jay Sorg b56aa9832e work on main loop changes 2015-07-05 23:14:46 -07:00
Jay Sorg 4bf326080d common: indent, not logic change 2014-07-25 21:18:40 -07:00
jsorg71 1ce75182af Merge pull request #111 from speidy/fastpath
libxrdp: Fastpath input
2014-03-04 14:11:02 -08:00
Jay Sorg 374633e63f common: no logic change, update comments 2014-03-01 23:26:40 -08:00
speidy 113f2696fe libxrdp: work on fastpath 2014-02-08 13:34:01 +02:00
Jay Sorg 39ed446e15 VUL: fix some possible buffer overruns 2013-09-10 16:00:30 -07:00
Jay Sorg f17692adaa added out_uint64_le 2013-08-19 10:47:26 -07:00
Jay Sorg 6c07ee0ba3 added in_uint64_le 2013-08-05 20:14:20 -07:00
Jay Sorg fad70062d6 common: no logic change 2013-07-19 11:10:55 -07:00
Jay Sorg c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
Laxmikant Rashinkar 89b7cd269e smartcard: developer checkin for smartcard support 2013-05-15 17:06:05 -07:00
Jay Sorg 64fabbad68 got neutrinordp module building 2013-05-03 02:07:02 -07:00
Laxmikant Rashinkar 78d4e19258 o early checkin for drive redirection
o basic drive redirection is working
o functions currently supported: open:
  read, write, create, get/set attribute
o requires latest NeutrinoRDP to work
o note: clipboard is broken because of the move from
        linked lists to inodes in the FUSE code
2013-03-08 15:37:30 -08:00
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
2012-09-19 20:51:34 -07:00
jsorg71 d83ebaa97a use do ... while (0) style for parse.h 2010-08-09 23:02:06 +00:00
jsorg71 6c5f82fd04 update copyright year 2009-02-02 08:01:44 +00:00
jsorg71 38b789e81f update copyright year 2008-01-30 07:30:10 +00:00
jsorg71 02cd95ebef copyright year update 2007-01-12 05:01:58 +00:00
jsorg71 2671ea4f91 added in_sint8 2006-10-12 03:49:15 +00:00
jsorg71 310c705de5 copyright change 2006-10-12 03:40:58 +00:00
jsorg71 b65409683b copyright year updates 2006-03-21 02:05:38 +00:00
jsorg71 79557c9cc6 call painter funcs, not orders 2005-06-30 01:01:19 +00:00
jsorg71 41df89c7f2 moved some files around 2005-06-28 03:04:36 +00:00
jsorg71 5140dac0f5 makefile and header changes 2005-03-11 02:23:30 +00:00
jsorg71 777893bdd6 some ints should be long 2005-03-08 03:31:14 +00:00
jsorg71 8e807eefd2 moved some functions around and changed some ifdefs 2005-03-01 01:14:37 +00:00
jsorg71 8defc32e27 readability and 64 bit changes 2005-02-20 06:06:26 +00:00
jsorg71 de80c9ec17 added files from xrdp directory 2005-01-07 00:56:38 +00:00