Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runc: fix: wrong hash with version #3

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

qinyuhang
Copy link
Contributor

@qinyuhang qinyuhang commented Jan 13, 2021

I found compile Error.
After check openwrt/packages, I found the hash not match the version
https://github.com/openwrt/packages/blob/master/utils/runc/Makefile

# openwrt/packages https://github.com/openwrt/packages/blob/master/utils/runc/Makefile
PKG_VERSION:=1.0.0-rc92
PKG_SOURCE_VERSION:=ff819c7e9184c13b7c2607fe6c30ae19403a7aff

I found compile Error.
After check openwrt/packages, I found the hash not match the version
```
# openwrt/packages https://github.com/openwrt/packages/blob/master/utils/runc/Makefile
PKG_VERSION:=1.0.0-rc92
PKG_SOURCE_VERSION:=ff819c7e9184c13b7c2607fe6c30ae19403a7aff
```
@aiamadeus aiamadeus merged commit 97a4c70 into immortalwrt:master Jan 14, 2021
1715173329 pushed a commit that referenced this pull request Nov 26, 2022
This fixes a segfault because gnupg/g10/options.h struct opt
is otherwise not shared between the different compilation units,
resulting in opt.homedir being NULL when passed to make_filename.

$ gpg1 -i

gpg: signal 11 caught ... exiting
Segmentation fault

(gdb) bt
    #0  0x00007f17bb2185e2 in strlen (s=s@entry=0x0) at src/string/strlen.c:17
    #1  0x0000000000460ea0 in make_filename (first_part=first_part@entry=0x0) at gnupg-1.4.23/util/fileutil.c:174
    #2  0x000000000040ee42 in keydb_add_resource (url=url@entry=0x46bfe3 "secring.gpg", flags=flags@entry=4, secret=secret@entry=1)
        at gnupg-1.4.23/g10/keydb.c:238
    #3  0x00000000004062ee in main (argc=<optimized out>, argv=<optimized out>) at gnupg-1.4.23/g10/gpg.c:3323

Signed-off-by: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants