Skip to content
Snippets Groups Projects
Select Git revision
  • 01691f30502f74ded35535318fa0675d7926aa64
  • master default protected
  • rednatco-v2
  • base-pairs-ladder
  • rednatco
  • test
  • ntc-tube-uniform-color
  • ntc-tube-missing-atoms
  • restore-vertex-array-per-program
  • watlas2
  • dnatco_new
  • cleanup-old-nodejs
  • webmmb
  • fix_auth_seq_id
  • update_deps
  • ext_dev
  • ntc_balls
  • nci-2
  • plugin
  • bugfix-0.4.5
  • nci
  • v0.5.0-dev.1
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.12
  • v0.3.11
  • v0.3.10
  • v0.3.9
  • v0.3.8
  • v0.3.7
  • v0.3.6
  • v0.3.5
  • v0.3.4
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
41 results

model.ts

Blame
  • zs1-local-realms-report.patch 641 B
    Index: libnfsidmap-0.25/libnfsidmap.c
    ===================================================================
    --- libnfsidmap-0.25.orig/libnfsidmap.c
    +++ libnfsidmap-0.25/libnfsidmap.c
    @@ -285,10 +285,11 @@ int nfs4_init_name_mapping(char *conffil
     			TAILQ_FOREACH(r, &local_realms->fields, link) {
     				siz += (strlen(r->field)+4);
     			}
    -			buf = malloc(siz);
    +			buf = malloc(siz+1);
     			if (buf) {
    +				*buf = '\0';
     				TAILQ_FOREACH(r, &local_realms->fields, link) {
    -					sprintf(buf, "'%s' ", r->field);
    +					sprintf(buf+strlen(buf), "'%s' ", r->field);
     				}
     				IDMAP_LOG(1, ("libnfsidmap: Realms list: %s", buf));
     				free(buf);