aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPeter Korsgaard <[email protected]>2024-01-05 11:59:56 +0100
committerVinod Koul <[email protected]>2024-01-22 17:00:12 +0530
commit8fcc3f7dbdaeff3c3be47a15d1acd7863dfee92d (patch)
tree461fd8388369dda357ef5698ba46fbbe75fed549 /lib/test_fortify/write_overflow-strncpy-src.c
parent33b7db45533af240fe44e809f9dc4d604cf82d07 (diff)
dmaengine: xilinx_dma: check for invalid vdma interleaved parameters
The VDMA HSIZE register (corresponding to sgl[0].size) is only 16bit wide / the VSIZE register (corresponding to numf) is only 13bit wide, so reject requests not fitting within that rather than silently transferring too little data. Signed-off-by: Peter Korsgaard <[email protected]> Reviewed-by: Radhey Shyam Pandey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions