Re: [PATCH] ptrlist: use after free in last_ptr_list()

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

 



Those function originally all assume the list
are packed.

Is there usage case in current sparse that
feed unpacked list to those function?

Chris


On Fri, Nov 4, 2016 at 6:44 PM, Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
> Another thing I noticed is that after using DELETE_CURRENT_PTR()
> the next PREPARE_PTR_LIST() will fail or give wrong result if the
> list hasn't been repacked first.
>
> Maybe it's obvious but I wouldn't be surprised if there is even more
> situations that need to be protected against empty blocks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux