These patches address two points: - Correct buffer size calculation when calling if_ath_alq_post_in() in if_ath_alq_post_intr() - Avoid explicit casts for calling if_ath_alq_post() by making buf a const void* Fix: Please apply these patches. dummy file, because GNATS damages every other patch --- dummy1 ends here ---
Responsible Changed From-To: freebsd-bugs->freebsd-wireless Over to maintainer(s).
Author: adrian Date: Mon Feb 18 18:39:15 2013 New Revision: 246945 URL: http://svnweb.freebsd.org/changeset/base/246945 Log: Fix an incorrect sizeof() PR: kern/176238 Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Modified: head/sys/dev/ath/if_ath_alq.h Modified: head/sys/dev/ath/if_ath_alq.h ============================================================================== --- head/sys/dev/ath/if_ath_alq.h Mon Feb 18 17:55:27 2013 (r246944) +++ head/sys/dev/ath/if_ath_alq.h Mon Feb 18 18:39:15 2013 (r246945) @@ -168,7 +168,7 @@ if_ath_alq_post_intr(struct if_ath_alq * intr.intr_state[i] = htobe32(state[i]); intr.intr_syncstate = htobe32(sync_state); - if_ath_alq_post(alq, ATH_ALQ_INTR_STATUS, sizeof(&intr), + if_ath_alq_post(alq, ATH_ALQ_INTR_STATUS, sizeof(intr), (const char *) &intr); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
There was a commit referencing this bug, but it's still not closed and has been inactive for some time. Closing as fixed. Please re-open it if the issue hasn't been completely resolved.