Systemd/src/libsystemd
Tom Gundersen 30494563f2 basic: util - fix errorhandling in unhexmem()
We were ignoring failures from unhexchar, which meant that invalid
hex characters were being turned into garbage rather than the string
rejected.

Fix this by making unhexmem return an error code, also change the API
slightly, to return the size of the returned memory, reflecting the
fact that the memory is a binary blob,and not a string.

For convenience, still append a trailing NULL byte to the returned
memory (not included in the returned size), allowing callers to
treat it as a string without doing a second copy.
2015-07-12 19:11:34 +02:00
..
sd-bus basic: util - fix errorhandling in unhexmem() 2015-07-12 19:11:34 +02:00
sd-daemon sd-daemon: simplify sd_pid_notify_with_fds 2015-03-13 23:42:17 -04:00
sd-device hashmap: fix iterators to not skip entries 2015-06-14 16:56:02 +02:00
sd-event sd-event: make errors on EPOLL_CTL_DEL pseudo-fatal 2015-06-17 09:13:48 +02:00
sd-hwdb hashmap: fix iterators to not skip entries 2015-06-14 16:56:02 +02:00
sd-id128 build-sys: add all source files and no built files to the tar ball 2015-06-23 12:43:15 +02:00
sd-login build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
sd-netlink treewide: fix typos 2015-07-06 12:51:16 +02:00
sd-network sd-network: fix CID 1306198 2015-06-11 14:08:56 +05:30
sd-path tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
sd-resolve Add (void) where we don't care about return value 2015-03-15 17:26:58 -04:00
sd-utf8 libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
.gitignore libsystemd: remove list of symbols to export only in the future 2015-06-17 16:21:13 +02:00
libsystemd.pc.in build-sys: update .pc.in files 2014-01-25 18:55:58 -05:00
libsystemd.sym sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
Makefile libsystemd-bus: rename to libsystemd 2014-01-13 18:54:19 +01:00