	public static function loadFromStream($stream) {
		$buf = fread($stream, 14); //2+4+2+2+4
		if ($buf === false) {
			return false;
		}

		//シグネチャチェック
		if ($buf[0] != 'B' || $buf[1] != 'M') {
			return false;
		}

		$bitmap_file_header = unpack(
			//BITMAPFILEHEADER構造体
			"vtype/".
			"Vsize/".
			"vreserved1/".
			"vreserved2/".
			"Voffbits", $buf
		);

		return self::loadFromStreamAndFileHeader($stream, $bitmap_file_header);
	}
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.