[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] Multipath and HSG80 phase 2



>
> in main.c no zalloc of mpp structure before using it why?
> in dmparser.c in the merge_words you assume the return of realloc was the
> same of the passed ptr ?, if it is not the value of p may points to a gangle
> reference, so you may write a "space" char in an undefined memory
> location...
>
Please send a patch for review.

AFAICS, the realloc call is good.
As for main.c, which function do you refer to ?

regards,
cvaroqui
--


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]