Re: [PATCH] smalloc: fix ptr address in redzone error message

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

 



On 4/5/22 11:32 AM, Vincent Fu wrote:
> sfree_check_redzone is passed a pointer to the address of the *header*
> of an allocated block. This does not match the address of any of the
> buffers returned by smalloc. Adjust the value printed out to refer to
> the address returned by smalloc associated with the header in question.
> This makes debugging easier because it allows us to more easily identify
> the buffer where over-/under-run occurred.

Thanks, applied.

-- 
Jens Axboe




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux