]> xenbits.xensource.com Git - libvirt.git/commit
virBufferEscapeShell: Fix escaping of single quotes.
authorGuido Günther <agx@sigxcpu.org>
Tue, 18 Oct 2011 07:07:41 +0000 (09:07 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 18 Oct 2011 15:03:36 +0000 (17:03 +0200)
commit94f776e71673c9666b883f2a93b152a66057aa80
treeb70ae921440444b71aa23ae2b501f50f84f67c62
parentde12bee7ebd152199e9c23292723867c2f06efed
virBufferEscapeShell: Fix escaping of single quotes.

When checking if we need to escape a single quote we were looking at the
character after the quote instead of at the quote itself.
src/util/buf.c