Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1213/2

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


Avoid infinite loop.
 [rsc] --rw-rw-r-- M 195156 glenda sys 18043 Dec 13 13:57 sys/src/cmd/auth/factotum/util.c
	/n/sourcesdump/2005/1213/plan9/sys/src/cmd/auth/factotum/util.c:857,864 - 
	/n/sourcesdump/2005/1214/plan9/sys/src/cmd/auth/factotum/util.c:857,863
	  					}
	  					break;
	  				case AttrQuery:
	- 					found++;
	- 					break;
	+ 					goto continue2;
	  				}
	  			}else
	  				l = &(*l)->next;
	/n/sourcesdump/2005/1213/plan9/sys/src/cmd/auth/factotum/util.c:867,872 - 
	/n/sourcesdump/2005/1214/plan9/sys/src/cmd/auth/factotum/util.c:866,872
	  			*l = _mkattr(b->type, b->name, b->val, nil);
	  			setmalloctag(*l, getcallerpc(&a));
	  		}
	+ continue2:;
	  	}
	  	return a;		
	  }


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.