This repository was archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Build (make) fails with the getEpid function? #90
Comments
This is a bug in the code that needs to be patched. The problem:
Quick fix:
|
Thank you, I feel like an idiot. |
lshw
added a commit
to lshw/vlmcsd
that referenced
this issue
Apr 16, 2025
kms.c: In function 'getEpid': kms.c:502:9: warning: dangling pointer 'pid' to 'ePid' may be used [-Wdangling-pointer=] 502 | getEpidFromString(baseResponse, pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kms.c:473:30: note: 'ePid' declared here 473 | char ePid[PID_BUFFER_SIZE]; | ^~~~ LD ../bin/vlmcsd <- vlmcsd.o kmsdata.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o LD ../bin/vlmcs <- vlmcs.o kmsdata-full.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o dns_srv.o gmake[1]: Leaving directory '/root/vlmcsd/src'
lshw
added a commit
to lshw/vlmcsd
that referenced
this issue
Apr 16, 2025
kms.c: In function 'getEpid': kms.c:502:9: warning: dangling pointer 'pid' to 'ePid' may be used [-Wdangling-pointer=] 502 | getEpidFromString(baseResponse, pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kms.c:473:30: note: 'ePid' declared here 473 | char ePid[PID_BUFFER_SIZE]; | ^~~~ LD ../bin/vlmcsd <- vlmcsd.o kmsdata.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o LD ../bin/vlmcs <- vlmcs.o kmsdata-full.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o dns_srv.o gmake[1]: Leaving directory '/root/vlmcsd/src'
lshw
added a co
7483
mmit
to lshw/vlmcsd
that referenced
this issue
Apr 16, 2025
kms.c: In function 'getEpid': kms.c:502:9: warning: dangling pointer 'pid' to 'ePid' may be used [-Wdangling-pointer=] 502 | getEpidFromString(baseResponse, pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kms.c:473:30: note: 'ePid' declared here 473 | char ePid[PID_BUFFER_SIZE]; | ^~~~ LD ../bin/vlmcsd <- vlmcsd.o kmsdata.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o LD ../bin/vlmcs <- vlmcs.o kmsdata-full.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o dns_srv.o gmake[1]: Leaving directory '/root/vlmcsd/src'
lshw
added a commit
to lshw/vlmcsd
that referenced
this issue
Apr 17, 2025
kms.c: In function 'getEpid': kms.c:502:9: warning: dangling pointer 'pid' to 'ePid' may be used [-Wdangling-pointer=] 502 | getEpidFromString(baseResponse, pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kms.c:473:30: note: 'ePid' declared here 473 | char ePid[PID_BUFFER_SIZE]; | ^~~~ LD ../bin/vlmcsd <- vlmcsd.o kmsdata.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o LD ../bin/vlmcs <- vlmcs.o kmsdata-full.o crypto.o kms.o endian.o output.o shared_globals.o helpers.o network.o rpc.o crypto_internal.o dns_srv.o gmake[1]: Leaving directory '/root/vlmcsd/src'
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The docker compose build fails.
Im using this dockerfile:
Then i get this error with the make command:
Can you guys help me?
The text was updated successfully, but these errors were encountered: