NetworkManager/shared/nm-glib-aux
Thomas Haller d63cd26e60 shared: improve nm_free_secret() to clear entire memory buffer
The purpose is to clear the entire available buffer, not only
up to the first '\0'. This is done, because otherwise we might
leak sensitive data that happens to be after the first '\0',
or we might give away the length of the secrets.

Of course, those are very (very) minor concerns. But avoiding them is
easy enough.
2020-01-09 17:45:01 +01:00
..
tests all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-c-list.h shared: add nm_c_list_for_each_entry_prev() helper macro 2019-10-18 22:09:18 +02:00
nm-dbus-aux.c shared: add missing va_end() to _nm_dbus_error_is() 2019-12-18 09:54:08 +01:00
nm-dbus-aux.h shared: add nm_dbus_error_is() helper 2019-12-16 18:16:12 +01:00
nm-dedup-multi.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-dedup-multi.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-enum-utils.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-enum-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-errno.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-errno.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-glib.h shared: don't allow NULL arguments with g_hash_table_steal_extended() compat implementation 2019-12-31 02:13:45 +01:00
nm-hash-utils.c shared: add nm_pint_hash()/nm_pint_equals() utils 2019-11-25 12:58:33 +01:00
nm-hash-utils.h shared: add nm_pint_hash()/nm_pint_equals() utils 2019-11-25 12:58:33 +01:00
nm-io-utils.c shared: add io-util to read data from a fd into a GString 2019-12-24 10:13:51 +01:00
nm-io-utils.h shared: add io-util to read data from a fd into a GString 2019-12-24 10:13:51 +01:00
nm-jansson.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-json-aux.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-json-aux.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-keyfile-aux.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-keyfile-aux.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-logging-base.c shared: move log level info from core to "nm-logging-base.h" 2019-11-28 19:20:33 +01:00
nm-logging-base.h shared: move log level info from core to "nm-logging-base.h" 2019-11-28 19:20:33 +01:00
nm-logging-fwd.h shared: implement _LOGx() macros using log levels that are themself defines 2019-12-16 18:37:47 +01:00
nm-macros-internal.h shared: make NM_STRUCT_OFFSET_ENSURE_TYPE() work with arrays 2019-11-25 12:58:33 +01:00
nm-obj.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-random-utils.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-random-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-ref-string.c shared: assert in nm_ref_string_unref() for valid NMRefString instance 2019-11-07 11:34:36 +01:00
nm-ref-string.h shared: add NM_IS_REF_STRING() helper 2019-10-27 14:30:51 +01:00
nm-secret-utils.c shared: improve nm_free_secret() to clear entire memory buffer 2020-01-09 17:45:01 +01:00
nm-secret-utils.h shared: improve nm_free_secret() to clear entire memory buffer 2020-01-09 17:45:01 +01:00
nm-shared-utils.c all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-shared-utils.h all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-time-utils.c all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-time-utils.h all: rename time related function to spell out nsec/usec/msec/sec 2019-12-13 16:54:40 +01:00
nm-value-type.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00