https://bugs.kde.org/show_bug.cgi?id=369029
Mark Wielaard <m...@klomp.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|jsew...@acm.org |m...@klomp.org CC| |m...@klomp.org Status|REPORTED |ASSIGNED --- Comment #12 from Mark Wielaard <m...@klomp.org> --- Created attachment 130422 --> https://bugs.kde.org/attachment.cgi?id=130422&action=edit 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). -- You are receiving this mail because: You are watching all bug changes.