diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-08-25 19:40:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-08-25 19:40:46 -0700 |
commit | ce496a342712083526d424d965a6fa689b6b09cb (patch) | |
tree | 536e18bef4680100bd7fb9182939efaf490c3e88 /signal.h | |
parent | b8109c296982b8641a47f9cb6223b6102fef4b8c (diff) | |
download | txr-ce496a342712083526d424d965a6fa689b6b09cb.tar.gz txr-ce496a342712083526d424d965a6fa689b6b09cb.tar.bz2 txr-ce496a342712083526d424d965a6fa689b6b09cb.zip |
GC correctness fixes: make sure we pin down objects for which we borrow
low level C pointers, while we execute code that can cons memory.
* lib.c (list_str): Protect the str argument.
(int_str): Likewise.
* regex.c (search_regex): protect the haystack string,
while using the h pointer to its data, since regex_run
can use the derivative-based engine which conses.
* stream.c (vformat_str): Protect str argument, since
put_char might conceivably cons.
(vformat): Protect fmtstr.
Diffstat (limited to 'signal.h')
0 files changed, 0 insertions, 0 deletions