Armin Novak
7990ea6371
Added proper bitmap and png image test.
2015-04-19 12:29:28 +02:00
Armin Novak
e5cdd8a299
Fixed bitmap reading bug.
2015-04-19 12:29:17 +02:00
Armin Novak
7b0d7b3552
Using new API for socket listener.
2015-04-19 10:39:08 +02:00
Armin Novak
4ed891b599
Moved client handler to new API.
2015-04-19 10:39:08 +02:00
Armin Novak
70cf129c55
Moved cleanup code, removed unused.
2015-04-19 10:39:08 +02:00
Armin Novak
efeb621721
Updated sample for new API.
2015-04-19 10:39:08 +02:00
Marc-André Moreau
2e80e325d3
Merge pull request #2547 from nfedera/fix-2015-04-16-01
...
Fullscreen fixes and smart sizing resuscitation
2015-04-17 09:03:46 -04:00
Norbert Federa
fd5f47428b
xfreerdp: fixed initial smart-sizing dimensions
...
The window width/height variables and in turn SmartSizingWidth/Height
get automatically updated in th the configure notify event handler.
If the window is created initially the values don't differ from the
event values and therefore SmartSizing was not applied until the
window was resized.
2015-04-16 23:54:56 +02:00
Armin Novak
813e75e14d
Fixed NULL dereference.
2015-04-16 22:04:38 +02:00
Armin Novak
60de56e1bb
Fixed NULL dereference and double free
2015-04-16 21:56:57 +02:00
Armin Novak
276757c082
Fixed NULL dereference
2015-04-16 21:56:26 +02:00
Armin Novak
0d9bcb63b7
Fixed memory leaks and NULL dereferences.
2015-04-16 21:39:25 +02:00
Norbert Federa
bad2f138c1
xfreerdp: FS fixes & smart-sizing resuscitation
...
- make smart-sizing work again which was killed in previous commits
- removed several unnecessary/ugly workarounds
- miscellaneous small fixes
- new feature: restore previous window position when toggling out of
fullscreen mode
- new feature: if /f is specified in combination with /smart-sizing:WxH
we run the session in the /smart-sizing dimensions scaled to full screen
2015-04-16 17:31:22 +02:00
Norbert Federa
eb14ab15f5
xfreerdp: removed some weird/unnecessary code
2015-04-16 17:31:22 +02:00
Norbert Federa
98505a0234
xfreerdp: removed desktopWidth/desktopHeight vars
...
These were basically unused (from the contexts's point of view)
and only served as temporary storage
2015-04-16 17:31:22 +02:00
Norbert Federa
b3b8306724
xfreerdp: removed unused variables from xf_monitor
2015-04-16 17:31:22 +02:00
Norbert Federa
6354a7561c
xfreerdp: rename xf_context's width height vars
...
Since several contributers in the past repeatedly made the error
to treat xfc->width and xfc->height as equal with the x11 window
width and heigth I've renamed these variables to sessionWidth and
sessionHeight.
2015-04-16 17:31:22 +02:00
Bernhard Miklautz
f5cdae5586
Merge pull request #2546 from akallabeth/error_fixes
...
Fixed some warnings
2015-04-16 10:58:27 +02:00
Armin Novak
5525d9f88b
Fixed uninitialized return value.
2015-04-15 10:38:04 +02:00
Armin Novak
449929fc35
Fixed NULL dereference.
2015-04-15 10:37:28 +02:00
Marc-André Moreau
4e1194c53b
Merge pull request #2532 from dbungert/4bytestub
...
GW RPC-HTTP - 2 fixes
2015-04-14 09:23:47 -04:00
Norbert Federa
8f64b71d00
Merge pull request #2539 from bmiklautz/fix/regression
...
ObjectPool: fix regression
2015-04-14 13:50:33 +02:00
Bernhard Miklautz
1093f647d3
ObjectPool: fix regression
...
winpr allocation checks introduced a problem that lead to zero size
allocations in ObjectPool
2015-04-14 13:47:23 +02:00
Martin Haimberger
5504f4261d
autodetect: debug fixed and level adjusted
...
Fixed two debug statements and moved
to TRACE debug level
2015-04-14 03:54:33 -07:00
Martin Haimberger
9c0d275548
transport: added function to get bytes written
...
added function to get written bytes on transport.
This is needed to get a more accurate bandwidth
management.
2015-04-14 03:49:01 -07:00
Norbert Federa
951a40b639
Merge pull request #2517 from bmiklautz/alloc
...
winpr allocation checks
2015-04-14 11:57:33 +02:00
Norbert Federa
1487de6beb
Merge pull request #2527 from AMV007/patch-1
...
fixed undefined behaviour of sprintf, buffer overflow, crash
2015-04-13 14:08:47 +02:00
Bernhard Miklautz
2ebdf7690f
Merge pull request #2535 from akallabeth/null_dereference_fix
...
Fixed NULL dereference.
2015-04-13 11:52:03 +02:00
Armin Novak
ea0e255058
Fixed broken pad setting.
2015-04-13 09:28:29 +02:00
Maxim
9b8754ca72
Update urbdrc_main.c
2015-04-12 14:51:27 +03:00
Daniel Bungert
0a1273e508
GW RPC-HTTP - Don't drop 4 byte stub from the pipe
...
* Though not frequent, it's possible to get TsProxySetupReceivePipe
data of stublength 4 that is actual data. This happens when
header->common.call_id == rpc->PipeCallId &&
!(header->common.pfc_flags & PFC_LAST_FRAG).
This should address GW disconnects that manifest as SSL read errors.
2015-04-10 15:09:54 -06:00
Daniel Bungert
3910baf49d
GW RPC-HTTP login fix
...
* f469e069dc
introduced a logic flip
that broke RPC-HTTP Gateway. Fix that.
2015-04-10 14:50:17 -06:00
Maxim
d4ad03bbf0
fixed buffer overflow at sprintf
2015-04-10 15:44:27 +03:00
Maxim
0b39a1f72a
fixed undefined behaviour of sprintf, buffer overflow
2015-04-08 18:21:52 +03:00
Bernhard Miklautz
423b15108d
Merge pull request #2522 from realjiangms/fix_WriteLock_leak
...
transport_write sometimes returns directly without cleanup.
2015-04-08 15:39:10 +02:00
zihao.jiang
a057526f1e
transport_write sometimes returns directly without cleanup. Fix code path to always do cleanup job.
2015-04-08 21:20:07 +08:00
Bernhard Miklautz
a8c44f15c0
winpr: small fixes and cleanups
...
Update the pull request and integrate the latest comments and
suggestions.
* TestLibrary*: fix typo in error message
* TestPipeCreateNamedPipeOverlapped: free possibly allocated memory
* smartcard_pcsc.c: format fix
* process.c: add missing NULL check
* MessageQueue.c: delete possibly initialized critical section on error
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
12e1d94567
winpr: fixes and cleanup
...
Integrated notes and issues for the pending pull request
* wf_info:
* cleanup: remove unnecessary breaks
* fix typo
* change usage of calloc
* print.c: fix incorrect check
* makecert.c: cleanup includes
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
850de59b55
winpr: add checks for *alloc
...
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
20e2774aa8
comm/tests: set label comm
...
Set the comm label to all comm related test that they can be excluded
more easily.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
b8e41b843d
aligned memory: fixes in _aligned_offset_recalloc
...
* _aligned_offset_recalloc did ignore the nmemb element
therefore only *one* element was allocated
* in case memblock was NULL the allocated memory
wasn't zeroed
* restructure realloc and recalloc to check if the memory was initially
created aligned before allocating a new segment
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
879ed36a3c
Merge pull request #2513 from hardening/license_and_security_retValues
...
License and security ret values
2015-04-08 11:33:57 +02:00
Bernhard Miklautz
7ae825ff6d
Merge pull request #2512 from hardening/help2353
...
Kill more exit() occurences
2015-04-08 10:35:32 +02:00
David FORT
c03bf75896
Take in account @nfedera's comments
2015-04-07 21:06:53 +02:00
David FORT
c0b191a1c6
Fix a too big Stream_EnsureRemainingCapacity()
2015-04-07 15:19:59 +02:00
Hardening
35892cfaef
Merge pull request #2516 from bmiklautz/cmd_fix
...
Fix regression introduced in 0b7f9d4
2015-04-07 10:51:25 +02:00
Bernhard Miklautz
0615c13dbb
Fix regression introduced in 0b7f9d4
...
This fixes problems with command line parsing.
2015-04-02 22:53:45 +02:00
David FORT
d84c760f7d
Fix a typo in server-side code
2015-04-01 22:26:38 +02:00
David FORT
a4a58aa373
Fix the error case in mcs_send_connect_response()
2015-04-01 17:55:01 +02:00
David FORT
23e11e5a3d
Fix code style
2015-04-01 16:58:25 +02:00