oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.76k stars 220 forks source link

llarp_buffer_t idiocy #2030

Closed majestrate closed 1 year ago

majestrate commented 1 year ago

when read/writing a .loki privkey file we dont rewind a llarp_buffer_t after use. this is an argument in favor of just removing that type from the code entirely.

fixes by using 2 distinct locally scoped llarp_buffer_t, one for read, one for write.

majestrate commented 1 year ago

fixes #2029