2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

1914. [bug] Strings returned from cfg_obj_asstring() should be

treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
This commit is contained in:
Mark Andrews
2005-08-23 02:36:11 +00:00
parent d3195a7f45
commit 4e1d3e67cd
17 changed files with 102 additions and 88 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: cache.c,v 1.62 2005/08/15 01:21:05 marka Exp $ */
/* $Id: cache.c,v 1.63 2005/08/23 02:36:09 marka Exp $ */
/*! \file */
@@ -443,7 +443,7 @@ dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp) {
}
isc_result_t
dns_cache_setfilename(dns_cache_t *cache, char *filename) {
dns_cache_setfilename(dns_cache_t *cache, const char *filename) {
char *newname;
REQUIRE(VALID_CACHE(cache));