Commits
- Commit:
84b0c4ab06e6de6c071c3cac39b0df011cf23ff5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tag 0.7.1 -- bugfix release
fix use after free when loading an about:* page from about:about.
Reported by Brian Callahan, thanks!
- Commit:
0b9a2b9206b2123bae3a2ae8893348d4ae7b90a6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
52a99c568d70787741ab72597d29960acb78c738
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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!
- Commit:
2122686bb1ab8ef51c4a4c94189be287c5512dff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
start a new release cycle
- Commit:
d9bfe90a163f327011c6e08d4f64d1a897a12088
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update the site for 0.7
- Commit:
d5e2f954920e7476938d015dace69631ba84501c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tag 0.7, "Via Paolo Fabbri 43"
- Commit:
77e9591fc27fd0f06aaff0cd94880ed1d5de9a75
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix a couple of printw fmt strings
two %d really needs %zu
- Commit:
6a897d0202d809922171a1d7e80227f3933b38b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix puntaction
- Commit:
17947430c0216bb8db16f69b70855e72d45cf978
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mention u in the "essential commands" list
- Commit:
b7286684d73624890ce1d663c499eb8acc9c845b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
eeddf8e6cfd70500dd779c1cde0ad1dd2b8dde61
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add utils.h, forgot in recent commits
- Commit:
c7067b0b78534c295ab2e5c3d2beb275f3be29eb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
link the thfr@ article about OOTB-TOFU in the ACKNOWLEDGEMNTS section
- Commit:
b240cdbb259a3f9751861686a980e75166404074
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add to CAVEATS a note about the naive text-wrapping algorithm
- Commit:
bb5abe9f9e45c59086d3406f99f67bb1a763b752
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak cache-info message
- Commit:
75544e856a31f13c2f8d8f783e51600eadd65c27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fringes already have a prefix of "~"
- Commit:
946d3439b93be9bac9eb246d9ff40f9e02e259a8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
1495fbb279fee499ef1cd0017feecdebe5d4a030
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document cache-info
- Commit:
a96922a16759643ba6a0bc3d9781e97fedbf1107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
4b4c3458436c646c06d295cc56e990eef9897c6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
timer-based cache removal: delete cached pages older than 15 minutes
- Commit:
0259f38d36d8538ee723be82e20e5ccf29fcd385
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify load_url_in_tab
- Commit:
9309f1423dcc0bf53fe33df9a1dba97ea5c9c090
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
eeebca225c95bf47ffc0c201333434720529d567
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add cache-info
- Commit:
befa807e5bfef47c79310f7ab3b7038042a49ee8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache: keep track of the total size and number of cached pages
- Commit:
ffcd827cfe2431a4f2ba116bc00b205d12cdf6df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mcache_tab: free previous copies of that page
- Commit:
c553191ed9d1aa9c51b3617893fc11019635c3cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename util.c -> utils.c for consistency