www.cendio.com

Bug 7247

Summary: Windows registry parameters are limited to 255 characters or less
Product: ThinLinc Reporter: Peter Åstrand <astrand@cendio.se>
Component: ClientAssignee: Peter Åstrand <astrand@cendio.se>
Status: CLOSED FIXED QA Contact: Bugzilla mail exporter <bugzilla-qa@cendio.se>
Severity: Normal    
Priority: P2 CC: astrand@cendio.se
Version: trunkKeywords: derfian_tester, relnotes
Target Milestone: 4.10.0   
Hardware: PC   
OS: Windows   
Acceptance Criteria:
* The client should correctly handle registry values which are longer than 255 characters * Non-ASCII characters should still be handled correctly

Description From cendio 2018-09-03 11:03:08
Currently, the ThinLinc client on Windows uses buffers when interacting with
the registry which are limited to 255 UCS-2 and UTF-8 characters. If the
retrieved value is longer than this, the parameter is silently ignored, and the
client fallbacks to the hardcoded default.
------- Comment #6 From cendio 2018-09-10 13:06:09 -------
> * The client should correctly handle registry values which are longer than 255 characters

Yes, tested with reading long (255<x<834 characters) HOST_ALIASES from registry
and writing long NFS_EXPORTS to registry. (thinlinc-client-4.9.0post-5897)

> * Non-ASCII characters should still be handled correctly

Looks like they're still read and written okay.




Nitpick: I don't like having "correctly handle" in acceptance criteria, and
this one used it in two out of two.