- Better fix for the registry value bug introduced by Rafal. The string is guaranteed...
authorAleksey Bragin <aleksey@reactos.org>
Wed, 25 Jan 2012 22:09:49 +0000 (22:09 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Wed, 25 Jan 2012 22:09:49 +0000 (22:09 +0000)
commit94ea8b7bfad27013b3919598ba4daee97b526649
tree24a8217d73c0ddd039ae499e0ddb83dd3965a9aa
parent84c799fc9b65204962e8bb7ba2a5d139f41050d8
- Better fix for the registry value bug introduced by Rafal. The string is guaranteed to be NULL terminated, however MaximumLength is off by one in some cases (more specifically in videoprt.c:131 two NULLs are being added by sizeof(Insert1) and sizeof(Insert2)).
See issue #6838 for more details.

svn path=/trunk/; revision=55184
reactos/drivers/video/videoprt/videoprt.c