On 06/01/2011 09:14 AM, Jan Friesse wrote: > memory_map function internally limits maximum path size to > PATH_MAX but coroipcc_zcb_alloc passed smaller buffer. > > Signed-off-by: Jan Friesse <[email protected]> > --- > lib/coroipcc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/coroipcc.c b/lib/coroipcc.c > index c5196a6..1adce0e 100644 > --- a/lib/coroipcc.c > +++ b/lib/coroipcc.c > @@ -1035,7 +1035,7 @@ coroipcc_zcb_alloc ( > { > struct ipc_instance *ipc_instance; > void *buf = NULL; > - char path[128]; > + char path[PATH_MAX]; > unsigned int res; > mar_req_coroipcc_zc_alloc_t req_coroipcc_zc_alloc; > coroipc_response_header_t res_coroipcs_zc_alloc;
Reviewed-by: Steven Dake <[email protected]> _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
