[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Freehaven CVS Commit



-----------------------------------------------------------------
arma   Sun Apr 16 03:49:01 EDT 2000

Update of /home/freehaven/cvsroot/src/shared
In directory belegost.mit.edu:/home2/arma/freehaven/src/shared

Modified Files:
	common.h crypto-api.c handle_socket.c protos.h tags.c 
Log Message:
change from
void free_tag_list(struct tag_t *list) {
to 
void free_tag_list(struct tag_t *list, int flag) {

now it takes a flag which tells it whether to nuke the file described by
sharefile.

we also have support for reading <share> and having it autoconvert to
<sharefile> in the build_list functions.

this introduces a security issue: if people manage to sneak their own
<sharefile> tag in, then they can make us delete arbitrary files on our
system. i'm going to try to, uhm, minimize this issue.


***********************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe freehaven-cvs       in the body. http://freehaven.seul.org/