[pacman-dev] [PATCH v3 1/1] be_sync: use effective URL for db file
Christian Hesse
list at eworm.de
Thu Oct 16 12:18:49 UTC 2014
Christian Hesse <list at eworm.de> on Thu, 2014/10/16 13:54:
> ALPM_SIG_DATABASE_OPTIONAL); @@ -260,6 +261,8 @@ int SYMEXPORT
> alpm_db_update(int force, alpm_db_t *db)
> _alpm_dload_payload_reset(&payload); }
>
> + free(final_db_url);
> +
> if(ret != -1 && sig_ret != -1) {
> break;
> }
But it starts crashing now... In curl_download_internal() we do:
*final_url = effective_url;
So no allocation. Either free() is wrong or we have to use strdup() here. No?
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20141016/c1b75a83/attachment.bin>
More information about the pacman-dev
mailing list