ALT Linux Bugzilla
– Attachment 2664 Details for
Bug 14929
apt-get: free(): invalid pointer
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
apt-get-cmdline-url.patch
apt-get.free.patch (text/plain), 327 bytes, created by
Sir Raorn
on 2008-06-05 14:49:46 MSD
(
hide
)
Description:
apt-get-cmdline-url.patch
Filename:
MIME Type:
Creator:
Sir Raorn
Created:
2008-06-05 14:49:46 MSD
Size:
327 bytes
patch
obsolete
>--- cmdline/apt-get.cc.orig 2008-06-05 14:40:29 +0400 >+++ cmdline/apt-get.cc 2008-06-05 14:43:33 +0400 >@@ -3446,7 +3446,9 @@ > if (strstr(*I, "://") != NULL) > { > URLLst.push_back(*I); >- *I = strrchr(*I, '/')+1; >+ const char *N = strdup(strrchr(*I, '/')+1); >+ free((void *)*I); >+ *I = N; > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14929
: 2664