Commit Briefs

84b0c4ab06 Omar Polo

tag 0.7.1 -- bugfix release (tags/0.7.1)

fix use after free when loading an about:* page from about:about. Reported by Brian Callahan, thanks!


0b9a2b9206 Omar Polo

sync changelog


52a99c568d Omar Polo

avoid possible use after free

`url' may be a pointer to a string of the buffer which gets corrupted upon tab_stop. This bug shows when loadfn is load_about_url, because in make_fs_request we first tab_stop, and then send the request, which ends up sending to the fs process a free'd string. At least on OpenBSD with Otto' malloc is (partially) corrupted and will either make the fs process abort or return a not found page. One solution may be to rework make_fs_request to process things in a different order, but that would only hide the problem. Instead, use the newly created history element as url given to the loadfns: that is guaranteed to be valid up to the next load_url call. Reported by Brian Callahan, thanks!


2122686bb1 Omar Polo

start a new release cycle


d9bfe90a16 Omar Polo

update the site for 0.7


d5e2f95492 Omar Polo

tag 0.7, "Via Paolo Fabbri 43" (tags/0.7)


77e9591fc2 Omar Polo

fix a couple of printw fmt strings

two %d really needs %zu


6a897d0202 Omar Polo

fix puntaction


17947430c0 Omar Polo

mention u in the "essential commands" list


b7286684d7 Omar Polo

fix glitch with tab-bar-show=1 and tab-undo-close

a missing ui_schedule_redraw on unkill_tab means that the tabbar is not rendered when calling tab-undo-close when there is only one tab.


eeddf8e6cf Omar Polo

add utils.h, forgot in recent commits




bb5abe9f9e Omar Polo

tweak cache-info message


75544e856a Omar Polo

fringes already have a prefix of "~"


946d3439b9 Omar Polo

crank up cache limits

delete pages that are older than one hour, and scan the cache only once every five minutes. The previous defaults were a bit too much conservative.


1495fbb279 Omar Polo

document cache-info


a96922a167 Omar Polo

drop useless struct

instead of keeping the struct mcache that's private to mcache.c and used only once, just define its fields as (static) variables. While here, mark as static also gemtext_prefixes.



0259f38d36 Omar Polo

simplify load_url_in_tab


9309f1423d Omar Polo

sync changelog


eeebca225c Omar Polo

add cache-info



ffcd827cfe Omar Polo

mcache_tab: free previous copies of that page


c553191ed9 Omar Polo

rename util.c -> utils.c for consistency