site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Uzm2w3fp7G5psbFHQlREIiGfelpf+fS4q2378hQB8e0=; b=Atmz55be23Q6Oklf2iZAkpLSf62uTjIrzY59sIAK31RceBJTIZfZMNxZCoukUx9J365OtU5dGtCE2cMI0qM1x5kiJ17D0Ka59gYLwgbEtcKHoa1HVtVleIXkJKMKwPhIq8HWOdCgjmOuZlMQPvCuFQaor1zpCCkCei7639bbgw4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D5iwTbvOEBjTOZPM2w58vh7BUBm51shwfx11i/CZhFynduJtrHjqqrHi7jM8leVM2Mw4v3+t8OjAgQImIbaHAcsmYfuL4UR3ZW+hOb3vd0VRloH63RtNzDFT8U3qiRNyqBtxZ9ZxvlJdpEnCJnsayQtokHhpyUtQZm6h7QoWmJo= hi, in the old interface, you should protect the code against this : sysctl_handle_int(oidp, -1, 0, req); //ptr value It's not my original code, I'm only refactoring and debuging (on demand, you should 've taken the Money Toombs :) ), anyway, I corrected this at the handler level (one of the wonderful things i discovered in this code), i know it should be better to use the new interface. Best Regards -- echo zapydapntpd.rxltw@nzx | tr a-z@. p-za-o.@ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w