search for: uri_str

Displaying 3 results from an estimated 3 matches for "uri_str".

Did you mean: uristr
2008 Mar 16
8
include a page in another
Hi, for my isbn plugin, I''m wishing to incldue generated isbn pages in caller pages (the ones with <isbn value=""> tags). But I want my isbn page to be processed before for its tags to be transformed (like the relocatable or other ones). Besides, i do not want its header to be included. Is there an easy solution for that, or should I do the work myself ? -- Nicolas
2013 Sep 24
4
[PATCH 1/1] gpxe: fix possible null pointer dereference
...pensp at gmail.com> --- gpxe/src/core/uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpxe/src/core/uri.c b/gpxe/src/core/uri.c index 6a1f2e5..4987821 100644 --- a/gpxe/src/core/uri.c +++ b/gpxe/src/core/uri.c @@ -151,7 +151,7 @@ struct uri * parse_uri ( const char *uri_string ) { } /* Split authority into user[:password] and host[:port] portions */ - if ( ( tmp = strchr ( authority, '@' ) ) ) { + if ( authority != NULL && ( tmp = strchr ( authority, '@' ) ) ) { /* Has user[:password] */ *(tmp++) = '\0'; uri->host = tm...
2013 Oct 06
0
[PATCH 1/1] gpxe: fix possible null pointer dereference
...rc/core/uri.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gpxe/src/core/uri.c b/gpxe/src/core/uri.c > index 6a1f2e5..4987821 100644 > --- a/gpxe/src/core/uri.c > +++ b/gpxe/src/core/uri.c > @@ -151,7 +151,7 @@ struct uri * parse_uri ( const char *uri_string ) { > } > > /* Split authority into user[:password] and host[:port] portions */ > - if ( ( tmp = strchr ( authority, '@' ) ) ) { > + if ( authority != NULL && ( tmp = strchr ( authority, '@' ) ) ) { I don't know the source c...