assert only works in debug builds. ----- stephan (Sent from a mobile device, possibly from bed. Please excuse brevity, typos, and top-posting.) On Apr 20, 2016 20:18, "Warren Young" <w...@etr-usa.com> wrote:
> On Apr 17, 2016, at 7:34 AM, Joerg Sonnenberger <jo...@britannica.bec.de> > wrote: > > > > while working on an update for my cvs2fossil tool, I was doing some > > mistakes ^W^W^W fuzzing the output and able to reliably crash fossil. > > In rebuild_step, blob_delta_apply is called without checking the return > > value. If the delta is for some reason valid compressed data, but not a > > valid delta, it returns directly and leaves next uninitialized. The > > reassignment in the tail recursion part then corrupts pBase. The only > > part I'm not sure is how to best deal with this. > > assert()? > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users