Nicholas Marriott wrote: >> Bad memory accesses occurs when we get to the call to grid_compare() >> after the "out:" label. Inside grid_compare(), the inner loop assumes >> that both grids use their entire horizontal space on each line. > > Hmm. It explicitly checks they are the same size (gla->cellsize != > glb->cellsize), why doesn't that catch it?
IIRC, at that point, they are both cellsize == 1. The inner loop doesn't use cellsize as the limit, it uses ga->sx, under the assumption that cellsize for both == ga->sx. Which is normally true, when we haven't wrapped like that. -- Micah J. Cowan http://micah.cowan.name/ ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users