# Fix RENAME_INFORMATION.toBuffer returning sizes below the minimum recognized size · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d08098861f47fb0974066fce8cc3af7d5709d12f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d08098861f47fb0974066fce8cc3af7d5709d12f

Requested commit: d08098861f47fb0974066fce8cc3af7d5709d12f

Commit: d08098861f47fb0974066fce8cc3af7d5709d12f

Tree: e8836ef174846ef9b9721c44f50d3d9e0e3446a0

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Fix RENAME_INFORMATION.toBuffer returning sizes below the minimum recognized size

Passing a length below 24 to NtSetInformationFile results in INFO_LENGTH_MISMATCH, so always return at least 24 for the buffer length.

```

## Parents

- [c4345991340af5ff2e0155a9832f4eed9ec677fc](https://git.cafe/gitcafe/zig/commit/c4345991340af5ff2e0155a9832f4eed9ec677fc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d08098861f47fb0974066fce8cc3af7d5709d12f?format=markdown)
