On 10 June 2016 at 10:19, Linus Torvalds <[email protected]>
wrote:

> Ok, I think I found it.
>
> The dive planner does
>
>     displayed_dive.dc.model = model;
>
> where "model" is a just a pointer to the static string "planned dive".
> Although it can be "manually added dive" too for that case.
>
> That assignment should just do "strdup()" on the passed-in string.
>
> A patch something like the attached fixes it here.  But maybe you're
> seeing a different issue, so please double-check..
>

Your patch works for me.  Thanks for the working out the issue and fixing
it.

Rick
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to