[sane-devel] sane backends patches part 3

Stef stef.dev at free.fr
Thu Oct 30 06:51:36 UTC 2014


On 27/10/2014 12:36, Jörg Frings-Fürst wrote:
> Hello again,
>
> I have found some more out-of-bounds
>
> - out_of_bounds.patch:
>    prevent multiple out-of-bounds
>    Severity: grave
>    Debian bug: none
>
> This patch is including niash_c-array-bounds.patch
>
>
> CU
> Jörg
>
>
>
     Hello,

     I don't understand the genesys patch part. On master branch 
MAX_SCANNERS is defined as

#define MAX_SCANNERS (sizeof(genesys_usb_device_list) / \
         sizeof(genesys_usb_device_list[0]))

     so no out of bounds condition can arise.

    What are the context and purpose of these patches ?

Regards,
     Stef


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20141030/651ca25c/attachment.html>


More information about the sane-devel mailing list