Re: svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-15 Thread Dimitry Andric
On 15 Dec 2016, at 08:01, Colin Percival wrote: > > On 12/14/16 11:28, Dimitry Andric wrote: >> Log: >> In xbd_connect(), use correct scanf conversion specifiers for the >> feature_barrier and feature_flush variables. Otherwise, adjacent >> variables on the stack, such

Re: svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-14 Thread Colin Percival
On 12/14/16 11:28, Dimitry Andric wrote: > Log: > In xbd_connect(), use correct scanf conversion specifiers for the > feature_barrier and feature_flush variables. Otherwise, adjacent > variables on the stack, such as sector_size, may be overwritten, with > disastrous results. Thanks!

svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-14 Thread Dimitry Andric
Author: dim Date: Wed Dec 14 19:28:19 2016 New Revision: 310086 URL: https://svnweb.freebsd.org/changeset/base/310086 Log: In xbd_connect(), use correct scanf conversion specifiers for the feature_barrier and feature_flush variables. Otherwise, adjacent variables on the stack, such as