[sheepdog] [PATCH] dog: let "dog vdi cache" subcommands parse arguments in a correct manner

Liu Yuan namei.unix at gmail.com
Fri Dec 20 05:33:33 CET 2013


On Fri, Dec 20, 2013 at 01:09:02PM +0900, Hitoshi Mitake wrote:
> At Fri, 20 Dec 2013 11:47:07 +0800,
> Liu Yuan wrote:
> > 
> > On Fri, Dec 20, 2013 at 10:56:34AM +0900, Hitoshi Mitake wrote:
> > > Current subcommands of "dog vdi cache" can cause segmentation faults
> > > because they don't check an index of argv.
> > > 
> > 
> > I tried every subcommand for 'vdi cache' and don't get the segfault, which
> > exactly commond cause the segfalt?
> 
> You can reproduce the segfaults by e.g. "dog vdi cache flush -a 127.0.0.1".
> 

Applied thanks

Yuan



More information about the sheepdog mailing list