Simon Wilkinson a1d8109c8f rxgen: Don't overflow PackageIndex
PackageIndex++ returns the pre-index value of PackageIndex, so the
error statement isn't run when PackageIndex == MAX_PACKAGES. This
means we go on to overflow all of the arrays that are MAX_PACKAGES
in size.

Caught by coverity (#985583, #985584, #985585, #985586,
                    #985587, #985588, #985589)

Change-Id: If81f9ff89edc4cfd56677ff51cea71281ebe1e3b
Reviewed-on: http://gerrit.openafs.org/9325
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
2013-03-03 19:02:25 -08:00
..
2009-06-15 23:29:29 +00:00
2012-07-02 19:23:00 -07:00
2011-04-03 09:43:12 -07:00
2012-06-14 12:45:27 -07:00
2010-08-16 21:32:53 -07:00
2012-06-14 12:45:27 -07:00
2013-03-03 19:02:25 -08:00
2012-07-22 05:18:50 -07:00
2010-08-16 21:32:53 -07:00
2011-04-03 09:43:12 -07:00
2011-04-03 09:43:12 -07:00
2011-01-01 21:19:51 -08:00
2010-08-16 21:32:53 -07:00
2007-09-19 18:55:55 +00:00