On Fri, Dec 08, 2017 at 10:10:56AM +, Michael Drake wrote:
> On 07/12/17 20:02, Greg KH wrote:
> > On Thu, Dec 07, 2017 at 07:18:39PM +, Michael Drake wrote:
> > > This fixes a divide by zero which happened when an array,
> > > without an explicit entry count (ultimately calculated from
>
On 07/12/17 20:02, Greg KH wrote:
On Thu, Dec 07, 2017 at 07:18:39PM +, Michael Drake wrote:
This fixes a divide by zero which happened when an array,
without an explicit entry count (ultimately calculated from
the value in the descriptor data's bLength field) was used
on field with a
On Thu, Dec 07, 2017 at 07:18:39PM +, Michael Drake wrote:
> This fixes a divide by zero which happened when an array,
> without an explicit entry count (ultimately calculated from
> the value in the descriptor data's bLength field) was used
> on field with a variable size.
>
> The solultion
This fixes a divide by zero which happened when an array,
without an explicit entry count (ultimately calculated from
the value in the descriptor data's bLength field) was used
on field with a variable size.
The solultion is to use the get_entry_size() function on
the array entry, which can get