https://bugs.kde.org/show_bug.cgi?id=369029

--- Comment #13 from zephyrus00jp <ishik...@yk.rim.or.jp> ---
(In reply to Mark Wielaard from comment #12)
> Created attachment 130422 [details]
> Cleaned up patch from bug #405394
> 
> (In reply to zephyrus00jp from comment #11)
> > I think I need to merge the patch from 405394 into the patch here and then
> > the patch would be complete. Let me remind myself to do this next weekend.
> 
> I took your patch and cleaned it up a little. Differences are:
> - hooked up all linux arches
> - Removed POST handler for sched_setattr (as far as I can see, the kernel
> only reads from the struct sched_attr, but doesn't write anything back)
> - Added a ML_(safe_to_deref) call before reading attr->size (so we don't
> crash if the user passes in NULL or a bogus address)
> - Use the actual attr->size as the memory that must/will be initialized
> (since the actual struct size could differ in the future).

Thank you for the cleanup.

I wonder what the merge plan/policy is.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to