On Mon, Nov 14, 2011 at 06:27:05PM +0900, Jari Sundell wrote:
> This patch fixes an issue where dst_field->n_bytes == 1 and
> src_value_bytes == 2 causing a segfault.
This doesn't look right at all. AFAICT your patch causes the whole
value to be thrown away instead of displayed.
Can you give an
This patch fixes an issue where dst_field->n_bytes == 1 and
src_value_bytes == 2 causing a segfault.
Jari Sundell
---
diff --git a/lib/learn.c b/lib/learn.c
index 9f95a13..9fea40a 100644
--- a/lib/learn.c
+++ b/lib/learn.c
@@ -622,8 +622,10 @@ learn_format(const struct nx_action_learn *learn,
st