From: Alexandre Coffignal <alexandre.coffignal@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH] bug found in psos queue
Date: Wed, 04 Nov 2009 13:53:06 +0100 [thread overview]
Message-ID: <4AF17932.5080000@domain.hid> (raw)
In-Reply-To: <4AF15548.5010308@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]
Gilles Chanteperdrix a écrit :
> Alexandre Coffignal wrote:
>
>> Hello all,
>>
>> I found a bug in xenomai-2.4/src/skins/psos+/queue.c,
>> in function q_vreceive, struct modifier is not corectly fill with
>> argument data.
>>
>> Here the patch to fix this bug
>>
>
> Thanks for the patch. But we can not accept a patch of the CREDITS file:
> appear in this file people which do contribute regularly. However, if
> you send a patch in the usual git format (as produced by
> git-format-patch), the patch will be credited to you in the git logs.
>
> So, please resend.
> Regard.
>
>
No problem,
Here patch as produced by git-format-patch.
Thank you for your interest,
Regard.
Alexandre
--
Alexandre COFFIGNAL, Chef de Projet
Email: alexandre.coffignal@domain.hid
<mailto:alexandre.coffignal@domain.hid>
------------------------------------
CénoSYS <http://www.cenosys.com>
10, Rue Xavier Bichat
F-72000 Le MANS
Tel: +33(0) 243 511 797
web : http://www.cenosys.com
------------------------------------
CONFIDENTIALITE : Ce message électronique et tous les fichiers attachés
qu'il contient sont confidentiels et destinés exclusivement à l'usage de
la personne à laquelle ils sont adressés. Si vous avez reçu ce message
par erreur, merci de le retourner immédiatement a son émetteur sans en
conserver de copie.
CONFIDENTIALITY : This e-mail and any attachments are confidential and
may also be privileged. If you are not the named recipient, please
notify the sender immediately and do not disclose the contents to an
other person, use it for any purpose, or store or copy the information
in any medium.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-psos-in-function-q_vreceive-struct-modifier-is-not.patch --]
[-- Type: text/x-patch; name="0001-psos-in-function-q_vreceive-struct-modifier-is-not.patch", Size: 892 bytes --]
From fed6cef9000904312f886db8b8986f87c444275f Mon Sep 17 00:00:00 2001
From: Alexandre Coffignal <alexandre.coffignal@cenosys.com>
Date: Wed, 4 Nov 2009 13:47:44 +0100
Subject: [PATCH] psos: in function q_vreceive, struct modifier is not corectly fill with
argument data.
---
src/skins/psos+/queue.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/skins/psos+/queue.c b/src/skins/psos+/queue.c
index 228f5bd..aa574c3 100644
--- a/src/skins/psos+/queue.c
+++ b/src/skins/psos+/queue.c
@@ -82,6 +82,10 @@ u_long q_vreceive(u_long qid, u_long flags, u_long timeout,
u_long flags;
u_long timeout;
} modifiers; /* Combine to fit into available arg space (i.e. 5) */
+
+ modifiers.flags=flags;
+ modifiers.timeout=timeout;
+
return XENOMAI_SKINCALL5(__psos_muxid, __psos_q_vreceive,
qid, &modifiers, msgbuf_r, buflen, msglen_r);
}
--
1.6.0.4
prev parent reply other threads:[~2009-11-04 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-02 9:43 [Xenomai-core] [PATCH] bug found in psos queue Alexandre Coffignal
2009-11-04 10:19 ` Gilles Chanteperdrix
2009-11-04 12:53 ` Alexandre Coffignal [this message]
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=4AF17932.5080000@domain.hid \
--to=alexandre.coffignal@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.