Add checks in opendir() to prevent including the current directory or parent
Add checks in opendir() to prevent including the current directory or parent

nextcloud/server,lrytz/core,lrytz/core,owncloud/core,IljaN/core,jbicha/server,sharidas/core,xx621998xx/server,cernbox/core,andreas-p/nextcloud-server,owncloud/core,cernbox/core,michaelletzgus/nextcloud-server,bluelml/core,lrytz/core,sharidas/core,whitekiba/server,sharidas/core,IljaN/core,sharidas/core,whitekiba/server,lrytz/core,endsguy/server,andreas-p/nextcloud-server,pollopolea/core,michaelletzgus/nextcloud-server,jbicha/server,pmattern/server,bluelml/core,michaelletzgus/nextcloud-server,nextcloud/server,owncloud/core,andreas-p/nextcloud-server,IljaN/core,pixelipo/server,IljaN/core,Ardinis/server,xx621998xx/server,owncloud/core,whitekiba/server,pixelipo/server,pollopolea/core,endsguy/server,owncloud/core,pmattern/server,pmattern/server,Ardinis/server,pmattern/server,jbicha/server,nextcloud/server,whitekiba/server,andreas-p/nextcloud-server,Ardinis/server,pollopolea/core,lrytz/core,jbicha/server,cernbox/core,endsguy/server,pollopolea/core,xx621998xx/server,xx621998xx/server,cernbox/core,pixelipo/server,pmattern/server,nextcloud/server,Ardinis/server,cernbox/core,phil-davis/core,IljaN/core,pollopolea/core,xx621998xx/server,endsguy/server,jbicha/server,michaelletzgus/nextcloud-server,bluelml/core,sharidas/core,whitekiba/server,Ardinis/server,pixelipo/server,endsguy/server,andreas-p/nextcloud-server,bluelml/core,pixelipo/server,bluelml/core