[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 00/28] 9p CVE-2016-9602 fixes 2017-02-28 for 2.9
From: |
Pranith Kumar |
Subject: |
Re: [Qemu-devel] [PULL 00/28] 9p CVE-2016-9602 fixes 2017-02-28 for 2.9 soft freeze |
Date: |
Tue, 28 Feb 2017 11:09:11 -0500 |
On Tue, Feb 28, 2017 at 9:55 AM, Michael Tokarev <address@hidden> wrote:
>>
>> https://github.com/gkurz/qemu/commits/cve-2016-9602-for-upstream
>> https://github.com/gkurz/qemu/commit/c23d5f1d5bc0e23aeb845b1af8f996f16783ce98
>
> Interesting. Perhaps I've never worked with github before.
> It works when referring to particular commit like this.
> but the tag isn't visible in github UI, and neither the
> tag nor this commit ID is visible when cloning github
> repository locally. I wonder where's that.
>
> $ git remote -v | grep gkurz
> gkurz git://github.com/gkurz/qemu.git (fetch)
> gkurz git://github.com/gkurz/qemu.git (push)
> $ git remote update gkurz
> Fetching gkurz
> $ git show c23d5f1d5bc0e23aeb845b1af8f996f16783ce98
> fatal: bad object c23d5f1d5bc0e23aeb845b1af8f996f16783ce98
> $ git show cve-2016-9602-for-upstream --
> fatal: bad revision 'cve-2016-9602-for-upstream'
>
> that's now. I'll dig into that later, there's apparently
> nothing wrong on your side, I'm sorry for the noise.
>
I think the answer is given here:
https://eddiemoya.com/2013/02/21/better-git-git-fetch-not-getting-tags/
You have to explicitly fetch the tags using 'git fetch -t gkurz' to
get the tags which are not direct references to a commit.
$ git remote update gkurz
Fetching gkurz
>From https://github.com/gkurz/qemu
* [new branch] 9p-attr-fixes -> gkurz/9p-attr-fixes
* [new branch] 9p-cleanup -> gkurz/9p-cleanup
* [new branch] 9p-fix -> gkurz/9p-fix
* [new branch] 9p-next -> gkurz/9p-next
* [new branch] 9p-proxy -> gkurz/9p-proxy
* [new branch] 9p-security -> gkurz/9p-security
* [new branch] 9p-symlink -> gkurz/9p-symlink
* [new branch] 9p-tests -> gkurz/9p-tests
* [new branch] ppc-vcpu-dt-id-rework -> gkurz/ppc-vcpu-dt-id-rework
$ git fetch -t gkurz
remote: Counting objects: 155, done.
remote: Compressing objects: 100% (145/145), done.
remote: Total 155 (delta 126), reused 8 (delta 8), pack-reused 2
Receiving objects: 100% (155/155), 41.89 KiB | 0 bytes/s, done.
Resolving deltas: 100% (126/126), completed with 6 local objects.
>From https://github.com/gkurz/qemu
* [new tag] cve-2016-9602-for-upstream ->
cve-2016-9602-for-upstream
t [tag update] for-upstream -> for-upstream
t [tag update] for_anthony -> for_anthony
Thanks,
--
Pranith
- [Qemu-devel] [PULL 24/28] 9pfs: local: symlink: don't follow symlinks, (continued)
- [Qemu-devel] [PULL 24/28] 9pfs: local: symlink: don't follow symlinks, Greg Kurz, 2017/02/28
- [Qemu-devel] [PULL 21/28] 9pfs: local: link: don't follow symlinks, Greg Kurz, 2017/02/28
- [Qemu-devel] [PULL 28/28] 9pfs: local: drop unused code, Greg Kurz, 2017/02/28
- [Qemu-devel] [PULL 26/28] 9pfs: local: mkdir: don't follow symlinks, Greg Kurz, 2017/02/28
- [Qemu-devel] [PULL 27/28] 9pfs: local: open2: don't follow symlinks, Greg Kurz, 2017/02/28
- Re: [Qemu-devel] [PULL 00/28] 9p CVE-2016-9602 fixes 2017-02-28 for 2.9 soft freeze, Michael Tokarev, 2017/02/28