From: Roland Stigge <stigge@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available
Date: Tue, 27 May 2008 11:00:12 +0200 [thread overview]
Message-ID: <483BCD9C.1090205@domain.hid> (raw)
In-Reply-To: <18491.14108.445958.567163@domain.hid>
Hi,
Gilles Chanteperdrix wrote:
> the way Debian maintained a patch to the ssh package is the
> reason why a bug could remain unnoticed during two years in Debian
> distributions, including so-called "stable" distributions. So, maybe it
> is time for a change.
First, it doesn't matter most how you maintain a patch. Most important
is that sufficient code review is done, which unfortunately didn't
happen in the libssl case.
Second, the actual libssl patch in .diff.gz was the following:
=======================================================================
diff -u openssl-0.9.8g/crypto/rand/md_rand.c
openssl-0.9.8g/crypto/rand/md_rand.c
--- openssl-0.9.8g/crypto/rand/md_rand.c
+++ openssl-0.9.8g/crypto/rand/md_rand.c
@@ -271,7 +271,10 @@
else
MD_Update(&m,&(state[st_idx]),j);
+/*
+ * Don't add uninitialised data.
MD_Update(&m,buf,j);
+*/
MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c));
MD_Final(&m,local_md);
md_c[1]++;
=======================================================================
I.e. quite clear in my opinion. It wouldn't be if Debian wouldn't ship
.diff.gz separately. (The above patch was actually reported upstream and
there was no objection.)
Third, the above case is different from our case: While I consider
debian/* as Debian specific, the above patch was not Debian specific (it
was actually introduced to ease valgrind usage). Therefore, I even
consider the libssl patch style (not the semantics! :-) ) above as good;
but patching debian/* in Debian's diff.gz as bad.
Fourth, you are proposing the same patching technique as above (which
you criticize as not appropriate).
> But of course, if you insist, this probably can be worked around by
> writing some merging script.
Yeah, maybe this is the way to go. Easy to implement and minimizes the
work for all participants.
bye,
Roland
next prev parent reply other threads:[~2008-05-27 9:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-19 19:41 [Xenomai-core] Debian package xenomai-2.4.3-4 available Roland Stigge
2008-04-20 17:04 ` Gilles Chanteperdrix
2008-05-25 15:55 ` Gilles Chanteperdrix
2008-05-25 16:14 ` Roland Stigge
2008-05-25 16:21 ` Gilles Chanteperdrix
2008-05-26 12:04 ` Roland Stigge
2008-05-26 19:43 ` Gilles Chanteperdrix
2008-05-26 21:20 ` Roland Stigge
2008-05-26 22:18 ` Gilles Chanteperdrix
2008-05-27 9:00 ` Roland Stigge [this message]
2008-05-27 12:37 ` Gilles Chanteperdrix
2008-05-27 13:19 ` Roland Stigge
2008-05-27 13:36 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=483BCD9C.1090205@domain.hid \
--to=stigge@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.