6.1.0-3, lib/libalpm/dload.c:1045: error: segmentation fault
Was that reported? 1039 ret = payload_download 1039 _fetchcb(payload, s->data, localpath); 1040 } 1041 1042 if (ret != -1 && payload->down 1042 load_signature) { 1043 /* Download signature 1043 if requested */ 1044 char *sig_fileurl; 1045 size_t sig_len = strle 1045 n(s->data) + strlen(payload->filepath) + 6; 1046 int retsig = -1; 1047 1048 MALLOC(sig_fileurl, si 1048 g_len, RET_ERR(handle, ALPM_ERR_MEMORY, -1)); 1049 snprintf(sig_fileurl, 1049 sig_len, "%s/%s.sig", (const char *)(s->data), payload->filepa 1049 th); 1050 There is a problem at line 1045 because the null s pointer, at s->data, is dereferenced. pacman-6.1.0-3 # pacman --noconfirm --downloadonly --refresh --sync --sysupgrade --debug debug: pacman v6.1.0 - libalpm v14.0.0 ... debug: registering sync database 'core' debug: database path for tree core set to /var/lib/pacman/sync/core.db debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for core repository debug: adding new server URL to database 'core': repository url debug: registering sync database 'extra' debug: database path for tree extra set to /var/lib/pacman/sync/extra.db debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for extra repository debug: adding new server URL to database 'extra': repository url :: Synchronizing package databases... debug: running command: /usr/bin/curl ( ... more parameters ...) error: segmentation fault -- u34
On 23/5/24 10:08, u34@net9.cf wrote:
Was that reported?
Fixed with commit eb5bf6913835e7553433ef82bdf0a456528f9b50
participants (2)
-
Allan McRae
-
u34@net9.cf