[dm-devel] Multipath and HSG80 phase 2

christophe.varoqui at free.fr christophe.varoqui at free.fr
Thu Dec 9 11:33:24 UTC 2004


>
> 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
--




More information about the dm-devel mailing list