Subject: Re: [PATCH] transport: simplify duplicating a substring in transport_get() using xmemdupz()

From: Jonathan Nieder <[email-masked]>
Date: Tue, 23 Dec 2014 18:08:47 -0800

René Scharfe wrote:

> Signed-off-by: Rene Scharfe <[email-masked]>
> ---
>  transport.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Since external_specification_len(url) is defined to always be less than
strlen(url) when is_url(url), this should be safe.

Reviewed-by: Jonathan Nieder <[email-masked]>