Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0414/2

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


httpd: nul terminate buffer in readfile
 [rsc] --rw-rw-r-- M 836007 glenda sys 2403 Apr 14 10:01 sys/src/cmd/ip/httpd/authorize.c
	/n/sourcesdump/2006/0414/plan9/sys/src/cmd/ip/httpd/authorize.c:111,115 - 
	/n/sourcesdump/2006/0415/plan9/sys/src/cmd/ip/httpd/authorize.c:111,116
	  		free(buf);
	  		return nil;
	  	}
	+ 	buf[n] = '\0';
	  	return buf;
	  }


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].