Fix more wrong sizeof() usages, part 3/x
authorSascha Wildner <saw@online.de>
Thu, 21 Jun 2012 02:25:19 +0000 (04:25 +0200)
committerSascha Wildner <saw@online.de>
Thu, 21 Jun 2012 02:26:38 +0000 (04:26 +0200)
commit277dbd163cd03cd859e806c527a9964c2db1d2b3
tree82f35451556c27e2a6b88cf7fd0b4e8e8311fb19
parent89f1d39890834dce38c42ec05bdcddc395c8e6b6
Fix more wrong sizeof() usages, part 3/x

Some comments:

* The gzip fix speeds up uncompression of compress(1)'d files with gzip.
  A test here took 9s with the fix when it previously took 15s.

* Our OpenSSH is without J-PAKE support, hence the OpenSSH fix is only
  cosmetical.

Found-with: Coccinelle (http://coccinelle.lip6.fr/)
crypto/openssh/jpake.c
sys/dev/acpica5/acpi_package.c
sys/dev/raid/mfi/mfi_tbolt.c
sys/netinet/ip_carp.c
sys/netproto/ncp/ncp_mod.c
usr.bin/gzip/zuncompress.c