Fix potential buffer overflow in create_filter().
Fix potential buffer overflow in create_filter().

mytestbed/oml,lees0414/EUproject,lees0414/EUproject,alco90/soml,lees0414/EUproject,alco90/soml,mytestbed/oml,mytestbed/oml,alco90/soml,alco90/soml,lees0414/EUproject,lees0414/EUproject,alco90/soml,mytestbed/oml,mytestbed/oml