ladybird/Userland/Libraries/LibCore
Brian Gianforcaro 3bf6902790 LibCore: Add SecretString, a buffer that is zero'd on destruction
We have a few places where we read secrets into memory, and then
do some computation on them. In these cases we should always make
sure we zero the allocations before they are free'd.

The SecureString wrapper provides this abstraction by wrapping a
ByteBuffer and calling explicit_bzero on destruction of the object.
2021-09-12 16:36:52 +02:00
..
Account.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
Account.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
AnonymousBuffer.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
AnonymousBuffer.h LibCore: Make Core::AnonymousBuffer moveable 2021-07-07 18:02:43 +02:00
ArgsParser.cpp Everywhere: Fix format-vulnerabilities 2021-09-11 15:16:26 +01:00
ArgsParser.h LibCore: Make --version print same version as in LibGUI's About dialogs 2021-08-15 01:22:45 +02:00
CMakeLists.txt LibCore: Add SecretString, a buffer that is zero'd on destruction 2021-09-12 16:36:52 +02:00
Command.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
Command.h
ConfigFile.cpp LibCore: Set file offset in ConfigFile::sync 2021-08-24 18:17:09 +02:00
ConfigFile.h Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open 2021-08-22 01:32:25 +02:00
DateTime.cpp LibCore: Make DateTime's members signed 2021-08-19 19:15:00 +01:00
DateTime.h LibCore: Make DateTime's members signed 2021-08-19 19:15:00 +01:00
DeferredInvocationContext.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
DirIterator.cpp LibCore: Avoid duplicate '/' in DirIterator::next_full_path() 2021-07-03 16:43:08 +02:00
DirIterator.h
ElapsedTimer.cpp
ElapsedTimer.h
Event.cpp
Event.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
EventLoop.cpp LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
EventLoop.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
File.cpp LibCore: Fix link_file inverting src and dst paths on duplicate names 2021-09-12 04:58:22 +00:00
File.h LibCore: Make Core::File::open() return OSError in case of failure 2021-08-20 15:31:46 +02:00
FileStream.h LibCore: Make Core::File::open() return OSError in case of failure 2021-08-20 15:31:46 +02:00
FileWatcher.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
FileWatcher.h
Forward.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
GetPassword.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
GetPassword.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
IODevice.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
IODevice.h
LocalServer.cpp
LocalServer.h
LocalSocket.cpp LibCore: Add peer pid retrieval for LocalSocket 2021-07-01 17:49:18 +02:00
LocalSocket.h LibCore: Add peer pid retrieval for LocalSocket 2021-07-01 17:49:18 +02:00
LockFile.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
LockFile.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
MimeData.cpp LibCore+Userland: Add 13 more detectable file types 2021-05-24 18:55:56 +01:00
MimeData.h
NetworkJob.cpp
NetworkJob.h
NetworkResponse.cpp
NetworkResponse.h
Notifier.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
Notifier.h
Object.cpp AK+Everywhere: Reduce the number of template parameters of IntrusiveList 2021-09-10 18:05:46 +03:00
Object.h AK+Everywhere: Reduce the number of template parameters of IntrusiveList 2021-09-10 18:05:46 +03:00
Process.cpp LibCore: Explicitly declare environ in Process.cpp to unbreak macOS 2021-08-06 01:29:09 +02:00
Process.h LibCore: Add Core::Process::spawn() 2021-08-06 01:04:11 +02:00
ProcessStatisticsReader.cpp Everywhere: Make tracking cpu usage independent from system ticks 2021-07-18 22:08:26 +02:00
ProcessStatisticsReader.h Everywhere: Make tracking cpu usage independent from system ticks 2021-07-18 22:08:26 +02:00
Promise.h LibCore+LibIMAP: Move Promise to LibCore 2021-07-15 11:11:14 +02:00
Property.cpp
Property.h
SecretString.cpp LibCore: Add SecretString, a buffer that is zero'd on destruction 2021-09-12 16:36:52 +02:00
SecretString.h LibCore: Add SecretString, a buffer that is zero'd on destruction 2021-09-12 16:36:52 +02:00
Socket.cpp LibCore+LibHTTP: Check the status of the socket after EINPROGRESS 2021-08-13 20:30:19 +04:30
Socket.h LibCore+LibHTTP: Check the status of the socket after EINPROGRESS 2021-08-13 20:30:19 +04:30
SocketAddress.h
StandardPaths.cpp
StandardPaths.h
TCPServer.cpp LibCore: Allow TCPServer to be blocking 2021-06-16 09:10:48 +02:00
TCPServer.h LibCore: Allow TCPServer to be blocking 2021-06-16 09:10:48 +02:00
TCPSocket.cpp
TCPSocket.h
Timer.cpp
Timer.h
UDPServer.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
UDPServer.h
UDPSocket.cpp
UDPSocket.h
Version.cpp LibCore: Refactor a version-reading utility 2021-09-02 16:17:18 +01:00
Version.h LibCore: Refactor a version-reading utility 2021-09-02 16:17:18 +01:00