[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947752: RFS: scanbd/1.5.1-5 [QA] [RC] -- Scanner button daemon



On Sun, Dec 29, 2019 at 11:27:18PM +0000, Sudip Mukherjee wrote:
>  * Package name    : scanbd
>    Version         : 1.5.1-5

> Changes since the last upload:
> 
>    [ Sudip Mukherjee ]
>    * QA upload.
>    * Fix ftbfs with GCC-9. (Closes: #925822)
>    * Update Standards-Version to 4.4.1
>    * Update compat level to 12
>    * Add Pre-Depends to d/control
>  .
>    [ Ondřej Nový ]
>    * d/copyright: Change Format URL to correct one
>    * d/watch: Use https protocol

I'm afraid the patch for strncpy() is invalid.

While strncpy() is never the right function to use for C strings (it's
always either insecure or at least inefficient), memcpy() from a
dynamic-sized user controllable string to a fixed-size buffer isn't right
either.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.


Reply to: