diff options
author | Tanguy LE CARROUR <tanguy@bioneland.org> | 2012-02-07 16:02:46 +0100 |
---|---|---|
committer | Tanguy LE CARROUR <tanguy@bioneland.org> | 2012-02-07 16:02:46 +0100 |
commit | 20fb4f4d2e2555005fb236d7fbbf78ecbe8fd1a6 (patch) | |
tree | 2e600e64854a969d1ed89d017e542da08855128f | |
parent | 1390a5e94a5bb74a2ed86aaa5211896c68700e24 (diff) |
Update status of "up-imapproxy".
Update status of "auto-apt".
-rw-r--r-- | user/tlecarrour/auto-apt.mdwn | 42 | ||||
-rw-r--r-- | user/tlecarrour/up-imapproxy.mdwn | 3 |
2 files changed, 43 insertions, 2 deletions
diff --git a/user/tlecarrour/auto-apt.mdwn b/user/tlecarrour/auto-apt.mdwn index f45387ff..cceaee9a 100644 --- a/user/tlecarrour/auto-apt.mdwn +++ b/user/tlecarrour/auto-apt.mdwn @@ -30,7 +30,7 @@ Log * **Started**: 2012-01-24 * **Discussed**: [2012-01-26](http://lists.debian.org/debian-hurd/2012/01/msg00129.html) * **Draft Submitted**: - -* **Submitted**: - +* **Submitted**: 2012-02-07, Bug#[659025](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659025) * **Accepted**: - @@ -55,5 +55,43 @@ Here is the only file of interest: Comments -------- -Work in progress, see related [thread](http://lists.debian.org/debian-hurd/2012/01/msg00129.html). + +++ auto-apt-0.3.22/auto-apt-pkgcdb.c 2012-02-03 09:25:54.045858173 +0100 + + + unsigned char *buf = NULL; + + + while (!feof(stdin)) { + unsigned char *fname, *pkg; + unsigned char *p; + int nslash = 0; + + + buf = get_line(stdin); + + if (buf == NULL) + + break; + +Reading from `stdin` using the `get_line()` function as explained in the [[porting guide|porting_guide_for_dummies]]. + + + free(buf); + + +++ auto-apt-0.3.22/pkgcdb/pkgtab.c 2012-01-30 09:05:07.883096049 +0100 + + + char *buf = NULL; + + + buf = (char *)malloc(p - pkg + 1); + + if (buf == NULL) { + + abort(); + + } + + + free(buf); + + - static char buf[PATH_MAX]; + + static char *buf; + + + if (buf != NULL) { + + free(buf); + + } + + buf = (char *)malloc(len + 1); + + if (buf == NULL) { + + abort(); + + } + diff --git a/user/tlecarrour/up-imapproxy.mdwn b/user/tlecarrour/up-imapproxy.mdwn index 12f2518e..f97207e0 100644 --- a/user/tlecarrour/up-imapproxy.mdwn +++ b/user/tlecarrour/up-imapproxy.mdwn @@ -54,3 +54,6 @@ Work in progress... Only the function that fills the buffer knows how long it can be. This function is `RAND_file_name()` and is part of **OpenSSL**. + +Probably **OpenSSL** function has to be fixed first to accept `NULL` buffer. +Then fix the up-imapproxy code to use the new version of the function. |