Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-30 Thread Jim Meyering
Anthony Liguori wrote: > On 05/30/2012 03:12 PM, Jim Meyering wrote: >> Anthony Liguori wrote: >>> On 05/09/2012 10:12 PM, Jim Meyering wrote: Peter Maydell wrote: > On 9 May 2012 15:01, Jim Meyering wrote: >>From 402100deb7e27b1d7ac619ebac963f861fae91b0 Mon Sep 17 00:00:00 2001

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-30 Thread Anthony Liguori
On 05/30/2012 03:12 PM, Jim Meyering wrote: Anthony Liguori wrote: On 05/09/2012 10:12 PM, Jim Meyering wrote: Peter Maydell wrote: On 9 May 2012 15:01, Jim Meyering wrote: From 402100deb7e27b1d7ac619ebac963f861fae91b0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 May 2012 18:

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-30 Thread Jim Meyering
Anthony Liguori wrote: > On 05/09/2012 10:12 PM, Jim Meyering wrote: >> Peter Maydell wrote: >>> On 9 May 2012 15:01, Jim Meyering wrote: From 402100deb7e27b1d7ac619ebac963f861fae91b0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 May 2012 18:34:26 +0200 Subject: [PA

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-30 Thread Anthony Liguori
On 05/09/2012 10:12 PM, Jim Meyering wrote: Peter Maydell wrote: On 9 May 2012 15:01, Jim Meyering wrote: From 402100deb7e27b1d7ac619ebac963f861fae91b0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 May 2012 18:34:26 +0200 Subject: [PATCH] linux-user: remove two unchecked uses of st

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Jim Meyering
Peter Maydell wrote: > On 9 May 2012 15:01, Jim Meyering wrote: >> From 402100deb7e27b1d7ac619ebac963f861fae91b0 Mon Sep 17 00:00:00 2001 >> From: Jim Meyering >> Date: Mon, 7 May 2012 18:34:26 +0200 >> Subject: [PATCH] linux-user: remove two unchecked uses of strdup >> >> Remove two uses of strd

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Peter Maydell
On 9 May 2012 15:01, Jim Meyering wrote: > From 402100deb7e27b1d7ac619ebac963f861fae91b0 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Mon, 7 May 2012 18:34:26 +0200 > Subject: [PATCH] linux-user: remove two unchecked uses of strdup > > Remove two uses of strdup (use g_path_get_basename i

[Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Jim Meyering
From: Jim Meyering Remove unnecessary and unchecked uses of strdup, and add a comment that this strncpy use is ok. Signed-off-by: Jim Meyering --- linux-user/elfload.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/linux-user/elfload.c b/linux-user/elfload.c ind

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Jim Meyering
Peter Maydell wrote: > On 9 May 2012 14:42, Jim Meyering wrote: >> From 5dce6a052cdc2a45ada3e3e96a8c3ef4e90f Mon Sep 17 00:00:00 2001 >> From: Jim Meyering >> Date: Mon, 7 May 2012 18:34:26 +0200 >> Subject: [PATCH] linux-user: remove two unchecked uses of strdup >> >> Remove two uses of strd

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Peter Maydell
On 9 May 2012 14:42, Jim Meyering wrote: > From 5dce6a052cdc2a45ada3e3e96a8c3ef4e90f Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Mon, 7 May 2012 18:34:26 +0200 > Subject: [PATCH] linux-user: remove two unchecked uses of strdup > > Remove two uses of strdup (use g_path_get_basename i

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Jim Meyering
Peter Maydell wrote: > On 9 May 2012 10:23, Jim Meyering wrote: >> From: Jim Meyering >> >> Remove unnecessary and unchecked uses of strdup, >> and add a comment that this strncpy use is ok. >> >> Signed-off-by: Jim Meyering >> --- >>  linux-user/elfload.c | 10 ++ >>  1 file changed, 6 i

Re: [Qemu-devel] [PATCH 08/22] linux-user: remove two unchecked uses of strdup

2012-05-09 Thread Peter Maydell
On 9 May 2012 10:23, Jim Meyering wrote: > From: Jim Meyering > > Remove unnecessary and unchecked uses of strdup, > and add a comment that this strncpy use is ok. > > Signed-off-by: Jim Meyering > --- >  linux-user/elfload.c | 10 ++ >  1 file changed, 6 insertions(+), 4 deletions(-) > >