Fix potential problem with calling zfs_to_cpu and cpu_to_be in a row.

* grub-core/fs/zfs/zfscrypt.c (grub_zfs_decrypt_real): Use explicit
	byteswap when needed.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-08 19:44:18 +01:00
parent 27610c3836
commit 3ae17eb83c
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
Fix potential problem with calling zfs_to_cpu and cpu_to_be in a row.
* grub-core/fs/zfs/zfscrypt.c (grub_zfs_decrypt_real): Use explicit
byteswap when needed.
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
Fix FreeBSD compilation.