diff --git a/Makefile b/Makefile index 921c3c8..79062ad 100644 --- a/Makefile +++ b/Makefile @@ -125,7 +125,7 @@ install-doc : mkdir -p $(PREFIX)/share/doc/winpty install -m 644 -p LICENSE $(PREFIX)/share/doc/winpty install -m 644 -p README.md $(PREFIX)/share/doc/winpty - install -m 644 -p RELEASES.md $(PREFIX)/share/doc/winpty + install -m 644 -p RELEASES*.md $(PREFIX)/share/doc/winpty .PHONY : install-include install-include : diff --git a/RELEASES-0.3.md b/RELEASES-0.3.md new file mode 100755 index 0000000..7e6308e --- /dev/null +++ b/RELEASES-0.3.md @@ -0,0 +1,8 @@ +# Version 0.3.1 (2016-05-31) + +This version was released solely to fix a possible crashing bug in 0.3.0. + +Bug fixes: + + * Fixed an uninitialized memory bug that could have crashed winpty. + [#80](https://github.com/rprichard/winpty/issues/80) diff --git a/VERSION.txt b/VERSION.txt index 0d91a54..9e11b32 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.3.0 +0.3.1 diff --git a/src/shared/WindowsSecurity.cc b/src/shared/WindowsSecurity.cc index 0014326..21682cb 100644 --- a/src/shared/WindowsSecurity.cc +++ b/src/shared/WindowsSecurity.cc @@ -218,7 +218,7 @@ createPipeSecurityDescriptorOwnerFullControl() { Sid localSystem; Sid builtinAdmins; Sid owner; - std::array daclEntries; + std::array daclEntries = {}; Acl dacl; SecurityDescriptor value; }; @@ -258,7 +258,7 @@ createPipeSecurityDescriptorOwnerFullControlEveryoneWrite() { Sid builtinAdmins; Sid owner; Sid everyone; - std::array daclEntries; + std::array daclEntries = {}; Acl dacl; SecurityDescriptor value; };