diff options
author | Roy Marples <roy@marples.name> | 2008-01-07 12:29:30 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-07 12:29:30 +0000 |
commit | 43d0f3fc76542d0859c9b84402c0483a22e02b68 (patch) | |
tree | 125bcc9bf644a6390718868312df2b6be1905e89 /src/librc/rc.map | |
parent | 74e0e58b899accd2bd72a7d7303331e47089959f (diff) | |
download | openrc-43d0f3fc76542d0859c9b84402c0483a22e02b68.tar.gz openrc-43d0f3fc76542d0859c9b84402c0483a22e02b68.tar.bz2 openrc-43d0f3fc76542d0859c9b84402c0483a22e02b68.tar.xz |
rc_getline keeps expanding it's malloced buffer until it has read a whole line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line.
Diffstat (limited to 'src/librc/rc.map')
-rw-r--r-- | src/librc/rc.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librc/rc.map b/src/librc/rc.map index e5f8ee3..ff7ef7d 100644 --- a/src/librc/rc.map +++ b/src/librc/rc.map @@ -12,6 +12,7 @@ global: rc_deptree_update_needed; rc_environ_fd; rc_find_pids; + rc_getline; rc_runlevel_exists; rc_runlevel_get; rc_runlevel_list; |