| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks! -> vasilyt@ for greater expertise in this domain
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
/*enable_extra_handles_validation=*/true, GetUIThreadTaskRunner({}));This will break chrome os and linux. There is reason why we added this bool and not just turned the validation everywhere and it is because we don't know the memory layout that fd points to, so knowing format+size is not enough to validate the file descriptor size.
base::CheckedNumeric<uint64_t> min_required = size.width();Not sure I understood the logic here. This checks that fd has size that is at least width*height bytes, while we know that in most cases we'd need more? How does this help?
If the assumption that we need _at least_ this amount, it's not true either in general case, it can be smaller.
if (static_cast<uint64_t>(fd_size) < handle.planes[i].size) {This can't work because we don't know the size unfortunately. On ChromeOS is might be somewhat usable, it's completely made up number on linux.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |