If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 def expose(template=None, validators=None, allow_json=None, html=None,
           format=None, content_type=None, inputform=None, fragment=False,
           as_format="default", mapping=None, accept_format=None,
           exclude_from_memory_profiling=False):
    """Exposes a method to the web.

    By putting the expose decorator on a method, you tell TurboGears that
    the method should be accessible via URL traversal. Additionally, expose
    handles the output processing (turning a dictionary into finished
    output) and is also responsible for ensuring that the request is
    wrapped in a database transaction.

    You can apply multiple expose decorators to a method, if
    you'd like to support multiple output formats. The decorator that's
    listed first in your code without as_format or accept_format is
    the default that is chosen when no format is specifically asked for.
    Any other expose calls that are missing as_format and accept_format
    will have as_format implicitly set to the whatever comes before
    the ":" in the template name (or the whole template name if there
    is no ":". For example, expose("json"), if it's not
    the default expose, will have as_format set to "json".

    When as_format is set, passing the same value in the tg_format
    parameter in a request will choose the options for that expose
    decorator. Similarly, accept_format will watch for matching
    Accept headers. You can also use both. expose("json", as_format="json",
    accept_format="application/json") will choose JSON output for either
    case: tg_format=json as a parameter or Accept: application/json as a
    request header.

    Passing allow_json=True to an expose decorator
    is equivalent to adding the decorator just mentioned.

    Each expose decorator has its own set of options, and each one
    can choose a different template or even template engine (you can
    use Kid for HTML output and Cheetah for plain text, for example).
    See the other expose parameters below to learn about the options
    you can pass to the template engine.

    Take a look at the
    test_expose.py suite
    for more examples.

    @param template "templateengine:dotted.reference" reference along the
            Python path for the template and the template engine. For
            example, "kid:foo.bar" will have Kid render the bar template in
            the foo package.
    @keyparam format format for the template engine to output (if the
            template engine can render different formats. Kid, for example,
            can render "html", "xml" or "xhtml")
    @keyparam content_type sets the content-type http header
    @keyparam allow_json allow the function to be exposed as json
    @keyparam fragment for template engines (like Kid) that generate
            DOCTYPE declarations and the like, this is a signal to
            just generate the immediate template fragment. Use this
            if you're building up a page from multiple templates or
            going to put something onto a page with .innerHTML.
    @keyparam mapping mapping with options that are sent to the template
            engine
    @keyparam as_format designates which value of tg_format will choose
            this expose.
    @keyparam accept_format which value of an Accept: header will
            choose this expose.
    @keyparam html deprecated in favor of template
    @keyparam validators deprecated. Maps argument names to validator
            applied to that arg
    @keyparam inputform deprecated. A form object that generates the
            input to this method
    @keyparam exclude_from_memory_profiling allows to exclude individual end points from memory profiling. Can be
            used for performance or in case profiling generates errors
    """
    if html:
        template = html
    if not template:
        template = format
    if format == "json" or (format is None and template is None):
        template = "json"
        allow_json = True
    if content_type is None:
        content_type = config.get("tg.content_type", None)

    if config.get("tg.session.automatic_lock", None):
        cherrypy.session.acquire_lock()

    def entangle(func):
        log.debug("Exposing %s", func)
        log.debug("template: %s, format: %s, allow_json: %s, "
            "content-type: %s", template, format, allow_json, content_type)
        if not getattr(func, "exposed", False):
            def expose(func, *args, **kw):
                accept = request.headers.get('Accept', "").lower()
                accept = tg_util.simplify_http_accept_header(accept)
                if not hasattr(func, "_expose"):
                    _build_rules(func)
                if hasattr(request, "in_transaction"):
                    output = func._expose(func, accept, func._allow_json,
                                *args, **kw)
                else:
                    request.in_transaction = True
                    output = profile_expose_method(_run_with_transaction, accept, args, func, kw,
                                                   exclude_from_memory_profiling)
                return output
            func.exposed = True
            func._ruleinfo = []
            allow_json_from_config = config.get("tg.allow_json", False)
            func._allow_json = allow_json_from_config or template == 'json'
        else:
            expose = lambda func, *args, **kw: func(*args, **kw)

        func._ruleinfo.insert(0, dict(as_format=as_format,
            accept_format=accept_format, template=template,
            rulefunc = lambda _func, accept, allow_json, *args, **kw:
                _execute_func(_func, template, format, content_type,
                    mapping, fragment, args, kw)))

        if allow_json:
            func._allow_json = True

        if inputform or validators:
            import warnings
            warnings.warn(
                "Use a separate decorator validate() rather than passing "
                "arguments validators and/or inputform to decorator "
                "expose().",
                DeprecationWarning, 2)
            func = validate(form=inputform, validators=validators)(func)

        return expose
    return weak_signature_decorator(entangle)
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: turbogears/controllers.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def from_cryptography(cls, crypto_cert):
        """
        Construct based on a ``cryptography`` *crypto_cert*.

        :param crypto_key: A ``cryptography`` X.509 certificate.
        :type crypto_key: ``cryptography.x509.Certificate``

        :rtype: PKey

        .. versionadded:: 17.1.0
        """
        if not isinstance(crypto_cert, x509.Certificate):
            raise TypeError("Must be a certificate")

        cert = cls()
        cert._x509 = crypto_cert._x509
        return cert
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: src/OpenSSL/crypto.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 src/OpenSSL/crypto.py::isinstance
src/OpenSSL/crypto.py::TypeError
src/OpenSSL/crypto.py::cls

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 MooTools.More={version:"1.6.0",build:"45b71db70f879781a7e0b0d3fb3bb1307c2521eb"},function(){var e={wait:function(e){return this.chain(function(){return this.callChain.delay(null==e?500:e,this),this}.bind(this))}};Chain.implement(e),this.Fx&&Fx.implement(e),this.Element&&Element.implement&&this.Fx&&Element.implement({chains:function(e){return Array.convert(e||["tween","morph","reveal"]).each(function(e){(e=this.get(e))&&e.setOptions({link:"chain"})},this),this},pauseFx:function(e,t){return this.chains(t).get(t||"tween").wait(e),this}})}(),Class.Mutators.Binds=function(e){return this.prototype.initialize||this.implement("initialize",function(){}),Array.convert(e).concat(this.prototype.Binds||[])},Class.Mutators.initialize=function(e){return function(){return Array.convert(this.Binds).each(function(e){var t=this[e];t&&(this[e]=t.bind(this))},this),e.apply(this,arguments)}},Class.Occlude=new Class({occlude:function(e,t){t=document.id(t||this.element);var i=t.retrieve(e||this.property);return i&&!this.occluded?this.occluded=i:(this.occluded=!1,t.store(e||this.property,this),this.occluded)}}),Class.refactor=function(e,t){return Object.each(t,function(t,i){var n=e.prototype[i];n=n&&n.$origin||n||function(){},e.implement(i,"function"==typeof t?function(){var e=this.previous;this.previous=n;var i=t.apply(this,arguments);return this.previous=e,i}:t)}),e},Class.Singleton=new Class({initialize:function(e){var t,i=new Class(e);return function(){if(t)return t;t=Object.append({},i.prototype),t.constructor=i;var e=i.apply(t,arguments);return t="object"==typeof e?e:t}}}),function(){Events.Pseudos=function(e,t,i){var n=function(e){return{store:e.store?function(t,i){e.store("_monitorEvents:"+t,i)}:function(t,i){(e._monitorEvents||(e._monitorEvents={}))[t]=i},retrieve:e.retrieve?function(t,i){return e.retrieve("_monitorEvents:"+t,i)}:function(t,i){return e._monitorEvents?e._monitorEvents[t]||i:i}}},s=function(t){if(-1==t.indexOf(":")||!e)return null;for(var i=Slick.parse(t).expressions[0][0],n=i.pseudos,s=n.length,a=[];s--;){var r=n[s].key,o=e[r];null!=o&&a.push({event:i.tag,value:n[s].value,pseudo:r,original:t,listener:o})}return a.length?a:null};return{addEvent:function(e,i,a){var r=s(e);if(!r)return t.call(this,e,i,a);var o=n(this),l=o.retrieve(e,[]),h=r[0].event,u=Array.slice(arguments,2),d=i,c=this;return r.each(function(e){var t=e.listener,i=d;0==t?h+=":"+e.pseudo+"("+e.value+")":d=function(){t.call(c,e,i,arguments,d)}}),l.include({type:h,event:i,monitor:d}),o.store(e,l),e!=h&&t.apply(this,[e,i].concat(u)),t.apply(this,[h,d].concat(u))},removeEvent:function(e,t){if(!s(e))return i.call(this,e,t);var a=n(this),r=a.retrieve(e);if(!r)return this;var o=Array.slice(arguments,2);return i.apply(this,[e,t].concat(o)),r.each(function(e,n){t&&e.event!=t||i.apply(this,[e.type,e.monitor].concat(o)),delete r[n]},this),a.store(e,r),this}}};var e={once:function(e,t,i,n){t.apply(this,i),this.removeEvent(e.event,n).removeEvent(e.original,t)},throttle:function(e,t,i){t._throttled||(t.apply(this,i),t._throttled=setTimeout(function(){t._throttled=!1},e.value||250))},pause:function(e,t,i){clearTimeout(t._pause),t._pause=t.delay(e.value||250,this,i)}};Events.definePseudo=function(t,i){return e[t]=i,this},Events.lookupPseudo=function(t){return e[t]};var t=Events.prototype;Events.implement(Events.Pseudos(e,t.addEvent,t.removeEvent)),["Request","Fx"].each(function(e){this[e]&&this[e].implement(Events.prototype)})}(),function(){var e=this.Drag=new Class({Implements:[Events,Options],options:{snap:6,unit:"px",grid:!1,style:!0,limit:!1,handle:!1,invert:!1,unDraggableTags:["button","input","a","textarea","select","option"],preventDefault:!1,stopPropagation:!1,compensateScroll:!1,modifiers:{x:"left",y:"top"}},initialize:function(){var t=Array.link(arguments,{options:Type.isObject,element:function(e){return null!=e}});this.element=document.id(t.element),this.document=this.element.getDocument(),this.setOptions(t.options||{});var i=typeOf(this.options.handle);this.handles=("array"==i||"collection"==i?$$(this.options.handle):document.id(this.options.handle))||this.element,this.mouse={now:{},pos:{}},this.value={start:{},now:{}},this.offsetParent=function(e){var t=e.getOffsetParent();return!t||/^(?:body|html)$/i.test(t.tagName)?window:document.id(t)}(this.element),this.selection="selectstart"in document?"selectstart":"mousedown",this.compensateScroll={start:{},diff:{},last:{}},!("ondragstart"in document)||"FileReader"in window||e.ondragstartFixed||(document.ondragstart=Function.convert(!1),e.ondragstartFixed=!0),this.bound={start:this.start.bind(this),check:this.check.bind(this),drag:this.drag.bind(this),stop:this.stop.bind(this),cancel:this.cancel.bind(this),eventStop:Function.convert(!1),scrollListener:this.scrollListener.bind(this)},this.attach()},attach:function(){return this.handles.addEvent("mousedown",this.bound.start),this.handles.addEvent("touchstart",this.bound.start),this.options.compensateScroll&&this.offsetParent.addEvent("scroll",this.bound.scrollListener),this},detach:function(){return this.handles.removeEvent("mousedown",this.bound.start),this.handles.removeEvent("touchstart",this.bound.start),this.options.compensateScroll&&this.offsetParent.removeEvent("scroll",this.bound.scrollListener),this},scrollListener:function(){if(this.mouse.start){var e=this.offsetParent.getScroll();if("absolute"==this.element.getStyle("position")){var t=this.sumValues(e,this.compensateScroll.last,-1);this.mouse.now=this.sumValues(this.mouse.now,t,1)}else this.compensateScroll.diff=this.sumValues(e,this.compensateScroll.start,-1);this.offsetParent!=window&&(this.compensateScroll.diff=this.sumValues(this.compensateScroll.start,e,-1)),this.compensateScroll.last=e,this.render(this.options)}},sumValues:function(e,t,i){var n={},s=this.options;for(var a in s.modifiers)s.modifiers[a]&&(n[a]=e[a]+t[a]*i);return n},start:function(e){if(!this.options.unDraggableTags.contains(e.target.get("tag"))){var t=this.options;if(!e.rightClick){t.preventDefault&&e.preventDefault(),t.stopPropagation&&e.stopPropagation(),this.compensateScroll.start=this.compensateScroll.last=this.offsetParent.getScroll(),this.compensateScroll.diff={x:0,y:0},this.mouse.start=e.page,this.fireEvent("beforeStart",this.element);var i=t.limit;this.limit={x:[],y:[]};var n,s,a=this.offsetParent==window?null:this.offsetParent;for(n in t.modifiers)if(t.modifiers[n]){var r=this.element.getStyle(t.modifiers[n]);if(r&&!r.match(/px$/)&&(s||(s=this.element.getCoordinates(a)),r=s[t.modifiers[n]]),t.style?this.value.now[n]=(r||0).toInt():this.value.now[n]=this.element[t.modifiers[n]],t.invert&&(this.value.now[n]*=-1),this.mouse.pos[n]=e.page[n]-this.value.now[n],i&&i[n])for(var o=2;o--;){var l=i[n][o];(l||0===l)&&(this.limit[n][o]="function"==typeof l?l():l)}}"number"==typeOf(this.options.grid)&&(this.options.grid={x:this.options.grid,y:this.options.grid});var h={mousemove:this.bound.check,mouseup:this.bound.cancel,touchmove:this.bound.check,touchend:this.bound.cancel};h[this.selection]=this.bound.eventStop,this.document.addEvents(h)}}},check:function(e){this.options.preventDefault&&e.preventDefault(),Math.round(Math.sqrt(Math.pow(e.page.x-this.mouse.start.x,2)+Math.pow(e.page.y-this.mouse.start.y,2)))>this.options.snap&&(this.cancel(),this.document.addEvents({mousemove:this.bound.drag,mouseup:this.bound.stop,touchmove:this.bound.drag,touchend:this.bound.stop}),this.fireEvent("start",[this.element,e]).fireEvent("snap",this.element))},drag:function(e){var t=this.options;t.preventDefault&&e.preventDefault(),this.mouse.now=this.sumValues(e.page,this.compensateScroll.diff,-1),this.render(t),this.fireEvent("drag",[this.element,e])},render:function(e){for(var t in e.modifiers)e.modifiers[t]&&(this.value.now[t]=this.mouse.now[t]-this.mouse.pos[t],e.invert&&(this.value.now[t]*=-1),e.limit&&this.limit[t]&&((this.limit[t][1]||0===this.limit[t][1])&&this.value.now[t]>this.limit[t][1]?this.value.now[t]=this.limit[t][1]:(this.limit[t][0]||0===this.limit[t][0])&&this.value.now[t]<this.limit[t][0]&&(this.value.now[t]=this.limit[t][0])),e.grid[t]&&(this.value.now[t]-=(this.value.now[t]-(this.limit[t][0]||0))%e.grid[t]),e.style?this.element.setStyle(e.modifiers[t],this.value.now[t]+e.unit):this.element[e.modifiers[t]]=this.value.now[t])},cancel:function(e){this.document.removeEvents({mousemove:this.bound.check,mouseup:this.bound.cancel,touchmove:this.bound.check,touchend:this.bound.cancel}),e&&(this.document.removeEvent(this.selection,this.bound.eventStop),this.fireEvent("cancel",this.element))},stop:function(e){var t={mousemove:this.bound.drag,mouseup:this.bound.stop,touchmove:this.bound.drag,touchend:this.bound.stop};t[this.selection]=this.bound.eventStop,this.document.removeEvents(t),this.mouse.start=null,e&&this.fireEvent("complete",[this.element,e])}})}(),Element.implement({makeResizable:function(e){var t=new Drag(this,Object.merge({modifiers:{x:"width",y:"height"}},e));return this.store("resizer",t),t.addEvent("drag",function(){this.fireEvent("resize",t)}.bind(this))}}),Drag.Move=new Class({Extends:Drag,options:{droppables:[],container:!1,precalculate:!1,includeMargins:!0,checkDroppables:!0},initialize:function(e,t){if(this.parent(e,t),e=this.element,this.droppables=$$(this.options.droppables),this.setContainer(this.options.container),this.options.style){if("left"==this.options.modifiers.x&&"top"==this.options.modifiers.y){var i=e.getOffsetParent(),n=e.getStyles("left","top");!i||"auto"!=n.left&&"auto"!=n.top||e.setPosition(e.getPosition(i))}"static"==e.getStyle("position")&&e.setStyle("position","absolute")}this.addEvent("start",this.checkDroppables,!0),this.overed=null},setContainer:function(e){this.container=document.id(e),this.container&&"element"!=typeOf(this.container)&&(this.container=document.id(this.container.getDocument().body))},start:function(e){this.container&&(this.options.limit=this.calculateLimit()),this.options.precalculate&&(this.positions=this.droppables.map(function(e){return e.getCoordinates()})),this.parent(e)},calculateLimit:function(){var e=this.element,t=this.container,i=document.id(e.getOffsetParent())||document.body,n=t.getCoordinates(i),s={},a={},r={},o={},l={},h=i.getScroll();["top","right","bottom","left"].each(function(n){s[n]=e.getStyle("margin-"+n).toInt(),a[n]=e.getStyle("border-"+n).toInt(),r[n]=t.getStyle("margin-"+n).toInt(),o[n]=t.getStyle("border-"+n).toInt(),l[n]=i.getStyle("padding-"+n).toInt()},this);var u=e.offsetWidth+s.left+s.right,d=e.offsetHeight+s.top+s.bottom,c=0+h.x,m=0+h.y,g=n.right-o.right-u+h.x,p=n.bottom-o.bottom-d+h.y;if(this.options.includeMargins?(c+=s.left,m+=s.top):(g+=s.right,p+=s.bottom),"relative"==e.getStyle("position")){var f=e.getCoordinates(i);f.left-=e.getStyle("left").toInt(),f.top-=e.getStyle("top").toInt(),c-=f.left,m-=f.top,"relative"!=t.getStyle("position")&&(c+=o.left,m+=o.top),g+=s.left-f.left,p+=s.top-f.top,t!=i&&(c+=r.left+l.left,!l.left&&c<0&&(c=0),m+=i==document.body?0:r.top+l.top,!l.top&&m<0&&(m=0))}else c-=s.left,m-=s.top,t!=i&&(c+=n.left+o.left,m+=n.top+o.top);return{x:[c,g],y:[m,p]}},getDroppableCoordinates:function(e){var t=e.getCoordinates();if("fixed"==e.getStyle("position")){var i=window.getScroll();t.left+=i.x,t.right+=i.x,t.top+=i.y,t.bottom+=i.y}return t},checkDroppables:function(){var e=this.droppables.filter(function(e,t){e=this.positions?this.positions[t]:this.getDroppableCoordinates(e);var i=this.mouse.now;return i.x>e.left&&i.x<e.right&&i.y<e.bottom&&i.y>e.top},this).getLast();this.overed!=e&&(this.overed&&this.fireEvent("leave",[this.element,this.overed]),e&&this.fireEvent("enter",[this.element,e]),this.overed=e)},drag:function(e){this.parent(e),this.options.checkDroppables&&this.droppables.length&&this.checkDroppables()},stop:function(e){return this.checkDroppables(),this.fireEvent("drop",[this.element,this.overed,e]),this.overed=null,this.parent(e)}}),Element.implement({makeDraggable:function(e){var t=new Drag.Move(this,e);return this.store("dragger",t),t}}),function(){var e=function(e,t){var i=[];return Object.each(t,function(t){Object.each(t,function(t){e.each(function(e){i.push(e+"-"+t+("border"==e?"-width":""))})})}),i},t=function(e,t){var i=0;return Object.each(t,function(t,n){n.test(e)&&(i+=t.toInt())}),i},i=function(e){return!(e&&!e.offsetHeight&&!e.offsetWidth)};Element.implement({measure:function(e){if(i(this))return e.call(this);for(var t=this.getParent(),n=[];!i(t)&&t!=document.body;)n.push(t.expose()),t=t.getParent();var s=this.expose(),a=e.call(this);return s(),n.each(function(e){e()}),a},expose:function(){if("none"!=this.getStyle("display"))return function(){};var e=this.style.cssText;return this.setStyles({display:"block",position:"absolute",visibility:"hidden"}),function(){this.style.cssText=e}.bind(this)},getDimensions:function(e){e=Object.merge({computeSize:!1},e);var t={x:0,y:0},i=function(e,t){return t.computeSize?e.getComputedSize(t):e.getSize()},n=this.getParent("body");if(n&&"none"==this.getStyle("display"))t=this.measure(function(){return i(this,e)});else if(n)try{t=i(this,e)}catch(e){}return Object.append(t,t.x||0===t.x?{width:t.x,height:t.y}:{x:t.width,y:t.height})},getComputedSize:function(i){i=Object.merge({styles:["padding","border"],planes:{height:["top","bottom"],width:["left","right"]},mode:"both"},i);var n,s={},a={width:0,height:0};return"vertical"==i.mode?(delete a.width,delete i.planes.width):"horizontal"==i.mode&&(delete a.height,delete i.planes.height),e(i.styles,i.planes).each(function(e){s[e]=this.getStyle(e).toInt()},this),Object.each(i.planes,function(e,i){var r=i.capitalize(),o=this.getStyle(i);"auto"!=o||n||(n=this.getDimensions()),o=s[i]="auto"==o?n[i]:o.toInt(),a["total"+r]=o,e.each(function(e){var i=t(e,s);a["computed"+e.capitalize()]=i,a["total"+r]+=i})},this),Object.append(a,s)}})}(),function(){this.Slider=new Class({Implements:[Events,Options],Binds:["clickedElement","draggedKnob","scrolledElement"],options:{onTick:function(e){this.setKnobPosition(e)},initialStep:0,snap:!1,offset:0,range:!1,wheel:!1,steps:100,mode:"horizontal"},initialize:function(e,t,i){this.setOptions(i),i=this.options,this.element=document.id(e),t=this.knob=document.id(t),this.previousChange=this.previousEnd=this.step=i.initialStep?i.initialStep:i.range?i.range[0]:0;var n={},s={x:!1,y:!1};switch(i.mode){case"vertical":this.axis="y",this.property="top",this.offset="offsetHeight";break;case"horizontal":this.axis="x",this.property="left",this.offset="offsetWidth"}this.setSliderDimensions(),this.setRange(i.range,null,!0),"static"==t.getStyle("position")&&t.setStyle("position","relative"),t.setStyle(this.property,-i.offset),s[this.axis]=this.property,n[this.axis]=[-i.offset,this.full-i.offset];var a={snap:0,limit:n,modifiers:s,onDrag:this.draggedKnob,onStart:this.draggedKnob,onBeforeStart:function(){this.isDragging=!0}.bind(this),onCancel:function(){this.isDragging=!1}.bind(this),onComplete:function(){this.isDragging=!1,this.draggedKnob(),this.end()}.bind(this)};i.snap&&this.setSnap(a),this.drag=new Drag(t,a),null!=i.initialStep&&this.set(i.initialStep,!0),this.attach()},attach:function(){return this.element.addEvent("mousedown",this.clickedElement),this.options.wheel&&this.element.addEvent("mousewheel",this.scrolledElement),this.drag.attach(),this},detach:function(){return this.element.removeEvent("mousedown",this.clickedElement).removeEvent("mousewheel",this.scrolledElement),this.drag.detach(),this},autosize:function(){return this.setSliderDimensions().setKnobPosition(this.toPosition(this.step)),this.drag.options.limit[this.axis]=[-this.options.offset,this.full-this.options.offset],this.options.snap&&this.setSnap(),this},setSnap:function(e){return e||(e=this.drag.options),e.grid=Math.ceil(this.stepWidth),e.limit[this.axis][1]=this.element[this.offset],this},setKnobPosition:function(e){return this.options.snap&&(e=this.toPosition(this.step)),this.knob.setStyle(this.property,e),this},setSliderDimensions:function(){return this.full=this.element.measure(function(){return this.half=this.knob[this.offset]/2,this.element[this.offset]-this.knob[this.offset]+2*this.options.offset}.bind(this)),this},set:function(e,t){return this.range>0^e<this.min||(e=this.min),this.range>0^e>this.max||(e=this.max),this.step=e.round(this.modulus.decimalLength),t?this.checkStep().setKnobPosition(this.toPosition(this.step)):this.checkStep().fireEvent("tick",this.toPosition(this.step)).fireEvent("move").end(),this},setRange:function(e,t,i){this.min=Array.pick([e[0],0]),this.max=Array.pick([e[1],this.options.steps]),this.range=this.max-this.min,this.steps=this.options.steps||this.full;this.stepSize=Math.abs(this.range)/this.steps;return this.stepWidth=this.stepSize*this.full/Math.abs(this.range),this.setModulus(),e&&this.set(Array.pick([t,this.step]).limit(this.min,this.max),i),this},setModulus:function(){for(var e=((this.stepSize+"").split(".")[1]||[]).length,t="1";e--;)t+="0";this.modulus={multiplier:t.toInt(10),decimalLength:t.length-1}},clickedElement:function(e){if(!this.isDragging&&e.target!=this.knob){var t=this.range<0?-1:1,i=e.page[this.axis]-this.element.getPosition()[this.axis]-this.half;i=i.limit(-this.options.offset,this.full-this.options.offset),this.step=(this.min+t*this.toStep(i)).round(this.modulus.decimalLength),this.checkStep().fireEvent("tick",i).fireEvent("move").end()}},scrolledElement:function(e){var t="horizontal"==this.options.mode?e.wheel<0:e.wheel>0;this.set(this.step+(t?-1:1)*this.stepSize),e.stop()},draggedKnob:function(){var e=this.range<0?-1:1,t=this.drag.value.now[this.axis];t=t.limit(-this.options.offset,this.full-this.options.offset),this.step=(this.min+e*this.toStep(t)).round(this.modulus.decimalLength),this.checkStep(),this.fireEvent("move")},checkStep:function(){var e=this.step;return this.previousChange!=e&&(this.previousChange=e,this.fireEvent("change",e)),this},end:function(){var e=this.step;return this.previousEnd!==e&&(this.previousEnd=e,this.fireEvent("complete",e+"")),this},toStep:function(e){var t=(e+this.options.offset)*this.stepSize/this.full*this.steps;return this.options.steps?(t-t*this.modulus.multiplier%(this.stepSize*this.modulus.multiplier)/this.modulus.multiplier).round(this.modulus.decimalLength):t},toPosition:function(e){return this.full*Math.abs(this.min-e)/(this.steps*this.stepSize)-this.options.offset||0}})}(),function(){this.Sortables=new Class({Implements:[Events,Options],options:{opacity:1,clone:!1,revert:!1,handle:!1,dragOptions:{},unDraggableTags:["button","input","a","textarea","select","option"]},initialize:function(e,t){this.setOptions(t),this.elements=[],this.lists=[],this.idle=!0,this.addLists($$(document.id(e)||e)),this.options.clone||(this.options.revert=!1),this.options.revert&&(this.effect=new Fx.Morph(null,Object.merge({duration:250,link:"cancel"},this.options.revert)))},attach:function(){return this.addLists(this.lists),this},detach:function(){return this.lists=this.removeLists(this.lists),this},addItems:function(){return Array.flatten(arguments).each(function(e){this.elements.push(e);var t=e.retrieve("sortables:start",function(t){this.start.call(this,t,e)}.bind(this));(this.options.handle?e.getElement(this.options.handle)||e:e).addEvent("mousedown",t)},this),this},addLists:function(){return Array.flatten(arguments).each(function(e){this.lists.include(e),this.addItems(e.getChildren())},this),this},removeItems:function(){return $$(Array.flatten(arguments).map(function(e){this.elements.erase(e);var t=e.retrieve("sortables:start");return(this.options.handle?e.getElement(this.options.handle)||e:e).removeEvent("mousedown",t),e},this))},removeLists:function(){return $$(Array.flatten(arguments).map(function(e){return this.lists.erase(e),this.removeItems(e.getChildren()),e},this))},getDroppableCoordinates:function(e){var t=e.getOffsetParent(),i=e.getPosition(t),n={w:window.getScroll(),offsetParent:t.getScroll()};return i.x+=n.offsetParent.x,i.y+=n.offsetParent.y,"fixed"==t.getStyle("position")&&(i.x-=n.w.x,i.y-=n.w.y),i},getClone:function(e,t){if(!this.options.clone)return new Element(t.tagName).inject(document.body);if("function"==typeOf(this.options.clone))return this.options.clone.call(this,e,t,this.list);var i=t.clone(!0).setStyles({margin:0,position:"absolute",visibility:"hidden",width:t.getStyle("width")}).addEvent("mousedown",function(e){t.fireEvent("mousedown",e)});return i.get("html").test("radio")&&i.getElements("input[type=radio]").each(function(e,i){e.set("name","clone_"+i),e.get("checked")&&t.getElements("input[type=radio]")[i].set("checked",!0)}),i.inject(this.list).setPosition(this.getDroppableCoordinates(this.element))},getDroppables:function(){var e=this.list.getChildren().erase(this.clone).erase(this.element);return this.options.constrain||e.append(this.lists).erase(this.list),e},insert:function(e,t){var i="inside";this.lists.contains(t)?(this.list=t,this.drag.droppables=this.getDroppables()):i=this.element.getAllPrevious().contains(t)?"before":"after",this.element.inject(t,i),this.fireEvent("sort",[this.element,this.clone])},start:function(e,t){!this.idle||e.rightClick||!this.options.handle&&this.options.unDraggableTags.contains(e.target.get("tag"))||(this.idle=!1,this.element=t,this.opacity=t.getStyle("opacity"),this.list=t.getParent(),this.clone=this.getClone(e,t),this.drag=new Drag.Move(this.clone,Object.merge({droppables:this.getDroppables()},this.options.dragOptions)).addEvents({onSnap:function(){e.stop(),this.clone.setStyle("visibility","visible"),this.element.setStyle("opacity",this.options.opacity||0),this.fireEvent("start",[this.element,this.clone])}.bind(this),onEnter:this.insert.bind(this),onCancel:this.end.bind(this),onComplete:this.end.bind(this)}),this.clone.inject(this.element,"before"),this.drag.start(e))},end:function(){this.drag.detach(),this.element.setStyle("opacity",this.opacity);var e=this;if(this.effect){var t=this.element.getStyles("width","height"),i=this.clone,n=i.computePosition(this.getDroppableCoordinates(i)),s=function(){this.removeEvent("cancel",s),i.destroy(),e.reset()};this.effect.element=i,this.effect.start({top:n.top,left:n.left,width:t.width,height:t.height,opacity:.25}).addEvent("cancel",s).chain(s)}else this.clone.destroy(),e.reset()},reset:function(){this.idle=!0,this.fireEvent("complete",this.element)},serialize:function(){var e=Array.link(arguments,{modifier:Type.isFunction,index:function(e){return null!=e}}),t=this.lists.map(function(t){return t.getChildren().map(e.modifier||function(e){return e.get("id")},this)},this),i=e.index;return 1==this.lists.length&&(i=0),(i||0===i)&&i>=0&&i<this.lists.length?t[i]:t}})}(),function(){for(var e={relay:!1},t=["once","throttle","pause"],i=t.length;i--;)e[t[i]]=Events.lookupPseudo(t[i]);DOMEvent.definePseudo=function(t,i){return e[t]=i,this};var n=Element.prototype;[Element,Window,Document].invoke("implement",Events.Pseudos(e,n.addEvent,n.removeEvent))}(),function(){DOMEvent.definePseudo("keys",function(e,t,i){var n=i[0],s=[],a=this.retrieve("$moo:keys-pressed",[]),r=e.value;if("+"!=r?s.append(r.replace("++",function(){return s.push("+"),""}).split("+")):s=["+"],a.include(n.key),s.every(function(e){return a.contains(e)})&&t.apply(this,i),this.store("$moo:keys-pressed",a),!this.retrieve("$moo:keys-keyup")){var o=function(e){(function(){a=this.retrieve("$moo:keys-pressed",[]).erase(e.key),this.store("$moo:keys-pressed",a)}).delay(0,this)};this.store("$moo:keys-keyup",o).addEvent("keyup",o)}}),DOMEvent.defineKeys({16:"shift",17:"control",18:"alt",20:"capslock",33:"pageup",34:"pagedown",35:"end",36:"home",144:"numlock",145:"scrolllock",186:";",187:"=",188:",",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",107:"+",109:"-",189:"-"})}(),function(){var e={a:/[àáâãäåăą]/g,A:/[ÀÁÂÃÄÅĂĄ]/g,c:/[ćčç]/g,C:/[ĆČÇ]/g,d:/[ďđ]/g,D:/[ĎÐ]/g,e:/[èéêëěę]/g,E:/[ÈÉÊËĚĘ]/g,g:/[ğ]/g,G:/[Ğ]/g,i:/[ìíîï]/g,I:/[ÌÍÎÏ]/g,l:/[ĺľł]/g,L:/[ĹĽŁ]/g,n:/[ñňń]/g,N:/[ÑŇŃ]/g,o:/[òóôõöøő]/g,O:/[ÒÓÔÕÖØ]/g,r:/[řŕ]/g,R:/[ŘŔ]/g,s:/[ššş]/g,S:/[ŠŞŚ]/g,t:/[ťţ]/g,T:/[ŤŢ]/g,u:/[ùúûůüµ]/g,U:/[ÙÚÛŮÜ]/g,y:/[ÿý]/g,Y:/[ŸÝ]/g,z:/[žźż]/g,Z:/[ŽŹŻ]/g,th:/[þ]/g,TH:/[Þ]/g,dh:/[ð]/g,DH:/[Ð]/g,ss:/[ß]/g,oe:/[œ]/g,OE:/[Œ]/g,ae:/[æ]/g,AE:/[Æ]/g},t={" ":/[\xa0\u2002\u2003\u2009]/g,"*":/[\xb7]/g,"'":/[\u2018\u2019]/g,'"':/[\u201c\u201d]/g,"...":/[\u2026]/g,"-":/[\u2013]/g,"»":/[\uFFFD]/g},i={ms:1,s:1e3,m:6e4,h:36e5},n=/(\d*.?\d+)([msh]+)/,s=function(e,t){var i,n=e;for(i in t)n=n.replace(t[i],i);return n},a=function(e,t){e=e||(t?"":"\\w+");var i=t?"<"+e+"(?!\\w)[^>]*>([\\s\\S]*?)</"+e+"(?!\\w)>":"</?"+e+"/?>|<"+e+"[\\s|/][^>]*>";return new RegExp(i,"gi")};String.implement({standardize:function(){return s(this,e)},repeat:function(e){return new Array(e+1).join(this)},pad:function(e,t,i){if(this.length>=e)return this;var n=(null==t?" ":""+t).repeat(e-this.length).substr(0,e-this.length);return i&&"right"!=i?"left"==i?n+this:n.substr(0,(n.length/2).floor())+this+n.substr(0,(n.length/2).ceil()):this+n},getTags:function(e,t){return this.match(a(e,t))||[]},stripTags:function(e,t){return this.replace(a(e,t),"")},tidy:function(){return s(this,t)},truncate:function(e,t,i){var n=this;if(null==t&&1==arguments.length&&(t="…"),n.length>e){if(n=n.substring(0,e),i){var s=n.lastIndexOf(i);-1!=s&&(n=n.substr(0,s))}t&&(n+=t)}return n},ms:function(){var e=n.exec(this);return null==e?Number(this):Number(e[1])*i[e[2]]}})}(),Element.implement({tidy:function(){this.set("value",this.get("value").tidy())},getTextInRange:function(e,t){return this.get("value").substring(e,t)},getSelectedText:function(){return this.setSelectionRange?this.getTextInRange(this.getSelectionStart(),this.getSelectionEnd()):document.selection.createRange().text},getSelectedRange:function(){if(null!=this.selectionStart)return{start:this.selectionStart,end:this.selectionEnd};var e={start:0,end:0},t=this.getDocument().selection.createRange();if(!t||t.parentElement()!=this)return e;var i=t.duplicate();if("text"==this.type)e.start=0-i.moveStart("character",-1e5),e.end=e.start+t.text.length;else{var n=this.get("value"),s=n.length;i.moveToElementText(this),i.setEndPoint("StartToEnd",t),i.text.length&&(s-=n.match(/[\n\r]*$/)[0].length),e.end=s-i.text.length,i.setEndPoint("StartToStart",t),e.start=s-i.text.length}return e},getSelectionStart:function(){return this.getSelectedRange().start},getSelectionEnd:function(){return this.getSelectedRange().end},setCaretPosition:function(e){return"end"==e&&(e=this.get("value").length),this.selectRange(e,e),this},getCaretPosition:function(){return this.getSelectedRange().start},selectRange:function(e,t){if(this.setSelectionRange)this.focus(),this.setSelectionRange(e,t);else{var i=this.get("value"),n=i.substr(e,t-e).replace(/\r/g,"").length;e=i.substr(0,e).replace(/\r/g,"").length;var s=this.createTextRange();s.collapse(!0),s.moveEnd("character",e+n),s.moveStart("character",e),s.select()}return this},insertAtCursor:function(e,t){var i=this.getSelectedRange(),n=this.get("value");return this.set("value",n.substring(0,i.start)+e+n.substring(i.end,n.length)),!1!==t?this.selectRange(i.start,i.start+e.length):this.setCaretPosition(i.start+e.length),this},insertAroundCursor:function(e,t){e=Object.append({before:"",defaultMiddle:"",after:""},e);var i=this.getSelectedText()||e.defaultMiddle,n=this.getSelectedRange(),s=this.get("value");if(n.start==n.end)this.set("value",s.substring(0,n.start)+e.before+i+e.after+s.substring(n.end,s.length)),this.selectRange(n.start+e.before.length,n.end+e.before.length+i.length);else{var a=s.substring(n.start,n.end);this.set("value",s.substring(0,n.start)+e.before+a+e.after+s.substring(n.end,s.length));var r=n.start+e.before.length;!1!==t?this.selectRange(r,r+a.length):this.setCaretPosition(r+s.length)}return this}}),function(){var e=!1,t=!1,i=function(){var i=new Element("div").setStyles({position:"fixed",top:0,right:0}).inject(document.body);e=0===i.offsetTop,i.dispose(),t=!0};Element.implement({pin:function(n,s){if(t||i(),"none"==this.getStyle("display"))return this;var a,r,o,l=window.getScroll();if(!1!==n){if(a=this.getPosition(),!this.retrieve("pin:_pinned")){var h={top:a.y-l.y,left:a.x-l.x,margin:"0px",padding:"0px"};if(e&&!s)this.setStyle("position","fixed").setStyles(h);else{r=this.getOffsetParent();var u=this.getPosition(r),d=this.getStyles("left","top");(r&&"auto"==d.left||"auto"==d.top)&&this.setPosition(u),"static"==this.getStyle("position")&&this.setStyle("position","absolute"),u={x:d.left.toInt()-l.x,y:d.top.toInt()-l.y},o=function(){if(this.retrieve("pin:_pinned")){var e=window.getScroll();this.setStyles({left:u.x+e.x,top:u.y+e.y})}}.bind(this),this.store("pin:_scrollFixer",o),window.addEvent("scroll",o)}this.store("pin:_pinned",!0)}}else{if(!this.retrieve("pin:_pinned"))return this;r=this.getParent();"static"!=r.getComputedStyle("position")||r.getOffsetParent();a=this.getPosition(),this.store("pin:_pinned",!1),o=this.retrieve("pin:_scrollFixer"),o?(this.store("pin:_scrollFixer",null),window.removeEvent("scroll",o)):this.setStyles({position:"absolute",top:a.y+l.y,left:a.x+l.x}),this.removeClass("isPinned")}return this},unpin:function(){return this.pin(!1)},togglePin:function(){return this.pin(!this.retrieve("pin:_pinned"))}})}(),function(e){var t=Element.Position={options:{relativeTo:document.body,position:{x:"center",y:"center"},offset:{x:0,y:0}},getOptions:function(e,i){return i=Object.merge({},t.options,i),t.setPositionOption(i),t.setEdgeOption(i),t.setOffsetOption(e,i),t.setDimensionsOption(e,i),i},setPositionOption:function(e){e.position=t.getCoordinateFromValue(e.position)},setEdgeOption:function(e){var i=t.getCoordinateFromValue(e.edge);e.edge=i||("center"==e.position.x&&"center"==e.position.y?{x:"center",y:"center"}:{x:"left",y:"top"})},setOffsetOption:function(e,t){var i={x:0,y:0},n={x:0,y:0},s=e.measure(function(){return document.id(this.getOffsetParent())});s&&s!=e.getDocument().body&&(n=s.getScroll(),i=s.measure(function(){var e=this.getPosition();if("fixed"==this.getStyle("position")){var t=window.getScroll();e.x+=t.x,e.y+=t.y}return e}),t.offset={parentPositioned:s!=document.id(t.relativeTo),x:t.offset.x-i.x+n.x,y:t.offset.y-i.y+n.y})},setDimensionsOption:function(e,t){t.dimensions=e.getDimensions({computeSize:!0,styles:["padding","border","margin"]})},getPosition:function(e,i){var n={};i=t.getOptions(e,i);var s=document.id(i.relativeTo)||document.body;t.setPositionCoordinates(i,n,s),i.edge&&t.toEdge(n,i);var a=i.offset;return n.left=(n.x>=0||a.parentPositioned||i.allowNegative?n.x:0).toInt(),n.top=(n.y>=0||a.parentPositioned||i.allowNegative?n.y:0).toInt(),t.toMinMax(n,i),(i.relFixedPosition||"fixed"==s.getStyle("position"))&&t.toRelFixedPosition(s,n),i.ignoreScroll&&t.toIgnoreScroll(s,n),i.ignoreMargins&&t.toIgnoreMargins(n,i),n.left=Math.ceil(n.left),n.top=Math.ceil(n.top),delete n.x,delete n.y,n},setPositionCoordinates:function(e,t,i){var n=e.offset.y,s=e.offset.x,a=i==document.body?window.getScroll():i.getPosition(),r=a.y,o=a.x,l=window.getSize();switch(e.position.x){case"left":t.x=o+s;break;case"right":t.x=o+s+i.offsetWidth;break;default:t.x=o+(i==document.body?l.x:i.offsetWidth)/2+s}switch(e.position.y){case"top":t.y=r+n;break;case"bottom":t.y=r+n+i.offsetHeight;break;default:t.y=r+(i==document.body?l.y:i.offsetHeight)/2+n}},toMinMax:function(e,t){var i,n={left:"x",top:"y"};["minimum","maximum"].each(function(s){["left","top"].each(function(a){null!=(i=t[s]?t[s][n[a]]:null)&&("minimum"==s?e[a]<i:e[a]>i)&&(e[a]=i)})})},toRelFixedPosition:function(e,t){var i=window.getScroll();t.top+=i.y,t.left+=i.x},toIgnoreScroll:function(e,t){var i=e.getScroll();t.top-=i.y,t.left-=i.x},toIgnoreMargins:function(e,t){e.left+="right"==t.edge.x?t.dimensions["margin-right"]:"center"!=t.edge.x?-t.dimensions["margin-left"]:-t.dimensions["margin-left"]+(t.dimensions["margin-right"]+t.dimensions["margin-left"])/2,e.top+="bottom"==t.edge.y?t.dimensions["margin-bottom"]:"center"!=t.edge.y?-t.dimensions["margin-top"]:-t.dimensions["margin-top"]+(t.dimensions["margin-bottom"]+t.dimensions["margin-top"])/2},toEdge:function(e,t){var i={},n=t.dimensions,s=t.edge;switch(s.x){case"left":i.x=0;break;case"right":
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: src/pyload/webui/app/static/vendor/MooTools/MooTools-More.min.js.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 static PyObject *__pyx_pf_17clickhouse_driver_14bufferedreader_14BufferedReader_8read_strings(struct __pyx_obj_17clickhouse_driver_14bufferedreader_BufferedReader *__pyx_v_self, Py_ssize_t __pyx_v_n_items, PyObject *__pyx_v_encoding) {
  PyObject *__pyx_v_items = NULL;
  Py_ssize_t __pyx_v_i;
  char *__pyx_v_buffer_ptr;
  Py_ssize_t __pyx_v_right;
  Py_ssize_t __pyx_v_size;
  Py_ssize_t __pyx_v_shift;
  Py_ssize_t __pyx_v_bytes_read;
  unsigned char __pyx_v_b;
  char *__pyx_v_c_string;
  Py_ssize_t __pyx_v_c_string_size;
  char *__pyx_v_c_encoding;
  PyObject *__pyx_v_rv = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  char *__pyx_t_5;
  Py_ssize_t __pyx_t_6;
  Py_ssize_t __pyx_t_7;
  Py_ssize_t __pyx_t_8;
  Py_ssize_t __pyx_t_9;
  Py_ssize_t __pyx_t_10;
  Py_ssize_t __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  int __pyx_t_15;
  PyObject *__pyx_t_16 = NULL;
  __Pyx_RefNannySetupContext("read_strings", 0);
  __Pyx_INCREF(__pyx_v_encoding);

  /* "clickhouse_driver/bufferedreader.pyx":67
 *         We inline strings reading logic here to avoid this overhead.
 *         """
 *         items = PyTuple_New(n_items)             # <<<<<<<<<<<<<<
 *
 *         cdef Py_ssize_t i
 */
  __pyx_t_1 = PyTuple_New(__pyx_v_n_items); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 67, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_items = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "clickhouse_driver/bufferedreader.pyx":71
 *         cdef Py_ssize_t i
 *         # Buffer vars
 *         cdef char* buffer_ptr = PyByteArray_AsString(self.buffer)             # <<<<<<<<<<<<<<
 *         cdef Py_ssize_t right
 *         # String length vars
 */
  __pyx_t_1 = __pyx_v_self->buffer;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_buffer_ptr = PyByteArray_AsString(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "clickhouse_driver/bufferedreader.pyx":78
 *
 *         # String for decode vars.
 *         cdef char *c_string = NULL             # <<<<<<<<<<<<<<
 *         cdef Py_ssize_t c_string_size = 1024
 *         cdef char *c_encoding = NULL
 */
  __pyx_v_c_string = NULL;

  /* "clickhouse_driver/bufferedreader.pyx":79
 *         # String for decode vars.
 *         cdef char *c_string = NULL
 *         cdef Py_ssize_t c_string_size = 1024             # <<<<<<<<<<<<<<
 *         cdef char *c_encoding = NULL
 *         if encoding:
 */
  __pyx_v_c_string_size = 0x400;

  /* "clickhouse_driver/bufferedreader.pyx":80
 *         cdef char *c_string = NULL
 *         cdef Py_ssize_t c_string_size = 1024
 *         cdef char *c_encoding = NULL             # <<<<<<<<<<<<<<
 *         if encoding:
 *             encoding = encoding.encode('utf-8')
 */
  __pyx_v_c_encoding = NULL;

  /* "clickhouse_driver/bufferedreader.pyx":81
 *         cdef Py_ssize_t c_string_size = 1024
 *         cdef char *c_encoding = NULL
 *         if encoding:             # <<<<<<<<<<<<<<
 *             encoding = encoding.encode('utf-8')
 *             c_encoding = encoding
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_encoding); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 81, __pyx_L1_error)
  if (__pyx_t_2) {

    /* "clickhouse_driver/bufferedreader.pyx":82
 *         cdef char *c_encoding = NULL
 *         if encoding:
 *             encoding = encoding.encode('utf-8')             # <<<<<<<<<<<<<<
 *             c_encoding = encoding
 *
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_encoding, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 82, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
      }
    }
    __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_kp_u_utf_8) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u_utf_8);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 82, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF_SET(__pyx_v_encoding, __pyx_t_1);
    __pyx_t_1 = 0;

    /* "clickhouse_driver/bufferedreader.pyx":83
 *         if encoding:
 *             encoding = encoding.encode('utf-8')
 *             c_encoding = encoding             # <<<<<<<<<<<<<<
 *
 *         cdef object rv = object()
 */
    __pyx_t_5 = __Pyx_PyObject_AsWritableString(__pyx_v_encoding); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) __PYX_ERR(0, 83, __pyx_L1_error)
    __pyx_v_c_encoding = __pyx_t_5;

    /* "clickhouse_driver/bufferedreader.pyx":81
 *         cdef Py_ssize_t c_string_size = 1024
 *         cdef char *c_encoding = NULL
 *         if encoding:             # <<<<<<<<<<<<<<
 *             encoding = encoding.encode('utf-8')
 *             c_encoding = encoding
 */
  }

  /* "clickhouse_driver/bufferedreader.pyx":85
 *             c_encoding = encoding
 *
 *         cdef object rv = object()             # <<<<<<<<<<<<<<
 *         # String for decode vars.
 *         if c_encoding:
 */
  __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_builtin_object); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 85, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_rv = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "clickhouse_driver/bufferedreader.pyx":87
 *         cdef object rv = object()
 *         # String for decode vars.
 *         if c_encoding:             # <<<<<<<<<<<<<<
 *             c_string = <char *> PyMem_Realloc(NULL, c_string_size)
 *
 */
  __pyx_t_2 = (__pyx_v_c_encoding != 0);
  if (__pyx_t_2) {

    /* "clickhouse_driver/bufferedreader.pyx":88
 *         # String for decode vars.
 *         if c_encoding:
 *             c_string = <char *> PyMem_Realloc(NULL, c_string_size)             # <<<<<<<<<<<<<<
 *
 *         for i in range(n_items):
 */
    __pyx_v_c_string = ((char *)PyMem_Realloc(NULL, __pyx_v_c_string_size));

    /* "clickhouse_driver/bufferedreader.pyx":87
 *         cdef object rv = object()
 *         # String for decode vars.
 *         if c_encoding:             # <<<<<<<<<<<<<<
 *             c_string = <char *> PyMem_Realloc(NULL, c_string_size)
 *
 */
  }

  /* "clickhouse_driver/bufferedreader.pyx":90
 *             c_string = <char *> PyMem_Realloc(NULL, c_string_size)
 *
 *         for i in range(n_items):             # <<<<<<<<<<<<<<
 *             shift = size = 0
 *
 */
  __pyx_t_6 = __pyx_v_n_items;
  __pyx_t_7 = __pyx_t_6;
  for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
    __pyx_v_i = __pyx_t_8;

    /* "clickhouse_driver/bufferedreader.pyx":91
 *
 *         for i in range(n_items):
 *             shift = size = 0             # <<<<<<<<<<<<<<
 *
 *             # Read string size
 */
    __pyx_v_shift = 0;
    __pyx_v_size = 0;

    /* "clickhouse_driver/bufferedreader.pyx":94
 *
 *             # Read string size
 *             while True:             # <<<<<<<<<<<<<<
 *                 if self.position == self.current_buffer_size:
 *                     self.read_into_buffer()
 */
    while (1) {

      /* "clickhouse_driver/bufferedreader.pyx":95
 *             # Read string size
 *             while True:
 *                 if self.position == self.current_buffer_size:             # <<<<<<<<<<<<<<
 *                     self.read_into_buffer()
 *                     # `read_into_buffer` can override buffer
 */
      __pyx_t_2 = ((__pyx_v_self->position == __pyx_v_self->current_buffer_size) != 0);
      if (__pyx_t_2) {

        /* "clickhouse_driver/bufferedreader.pyx":96
 *             while True:
 *                 if self.position == self.current_buffer_size:
 *                     self.read_into_buffer()             # <<<<<<<<<<<<<<
 *                     # `read_into_buffer` can override buffer
 *                     buffer_ptr = PyByteArray_AsString(self.buffer)
 */
        __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_read_into_buffer); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 96, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_3);
        __pyx_t_4 = NULL;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
          __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
          if (likely(__pyx_t_4)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
            __Pyx_INCREF(__pyx_t_4);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_3, function);
          }
        }
        __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_3);
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 96, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "clickhouse_driver/bufferedreader.pyx":98
 *                     self.read_into_buffer()
 *                     # `read_into_buffer` can override buffer
 *                     buffer_ptr = PyByteArray_AsString(self.buffer)             # <<<<<<<<<<<<<<
 *                     self.position = 0
 *
 */
        __pyx_t_1 = __pyx_v_self->buffer;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_v_buffer_ptr = PyByteArray_AsString(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "clickhouse_driver/bufferedreader.pyx":99
 *                     # `read_into_buffer` can override buffer
 *                     buffer_ptr = PyByteArray_AsString(self.buffer)
 *                     self.position = 0             # <<<<<<<<<<<<<<
 *
 *                 b = buffer_ptr[self.position]
 */
        __pyx_v_self->position = 0;

        /* "clickhouse_driver/bufferedreader.pyx":95
 *             # Read string size
 *             while True:
 *                 if self.position == self.current_buffer_size:             # <<<<<<<<<<<<<<
 *                     self.read_into_buffer()
 *                     # `read_into_buffer` can override buffer
 */
      }

      /* "clickhouse_driver/bufferedreader.pyx":101
 *                     self.position = 0
 *
 *                 b = buffer_ptr[self.position]             # <<<<<<<<<<<<<<
 *                 self.position += 1
 *
 */
      __pyx_v_b = (__pyx_v_buffer_ptr[__pyx_v_self->position]);

      /* "clickhouse_driver/bufferedreader.pyx":102
 *
 *                 b = buffer_ptr[self.position]
 *                 self.position += 1             # <<<<<<<<<<<<<<
 *
 *                 size |= (b & 0x7f) << shift
 */
      __pyx_v_self->position = (__pyx_v_self->position + 1);

      /* "clickhouse_driver/bufferedreader.pyx":104
 *                 self.position += 1
 *
 *                 size |= (b & 0x7f) << shift             # <<<<<<<<<<<<<<
 *                 if b < 0x80:
 *                     break
 */
      __pyx_v_size = (__pyx_v_size | ((__pyx_v_b & 0x7f) << __pyx_v_shift));

      /* "clickhouse_driver/bufferedreader.pyx":105
 *
 *                 size |= (b & 0x7f) << shift
 *                 if b < 0x80:             # <<<<<<<<<<<<<<
 *                     break
 *
 */
      __pyx_t_2 = ((__pyx_v_b < 0x80) != 0);
      if (__pyx_t_2) {

        /* "clickhouse_driver/bufferedreader.pyx":106
 *                 size |= (b & 0x7f) << shift
 *                 if b < 0x80:
 *                     break             # <<<<<<<<<<<<<<
 *
 *                 shift += 7
 */
        goto __pyx_L8_break;

        /* "clickhouse_driver/bufferedreader.pyx":105
 *
 *                 size |= (b & 0x7f) << shift
 *                 if b < 0x80:             # <<<<<<<<<<<<<<
 *                     break
 *
 */
      }

      /* "clickhouse_driver/bufferedreader.pyx":108
 *                     break
 *
 *                 shift += 7             # <<<<<<<<<<<<<<
 *
 *             right = self.position + size
 */
      __pyx_v_shift = (__pyx_v_shift + 7);
    }
    __pyx_L8_break:;

    /* "clickhouse_driver/bufferedreader.pyx":110
 *                 shift += 7
 *
 *             right = self.position + size             # <<<<<<<<<<<<<<
 *
 *             if c_encoding:
 */
    __pyx_v_right = (__pyx_v_self->position + __pyx_v_size);

    /* "clickhouse_driver/bufferedreader.pyx":112
 *             right = self.position + size
 *
 *             if c_encoding:             # <<<<<<<<<<<<<<
 *                 if size + 1 > c_string_size:
 *                     c_string_size = size + 1
 */
    __pyx_t_2 = (__pyx_v_c_encoding != 0);
    if (__pyx_t_2) {

      /* "clickhouse_driver/bufferedreader.pyx":113
 *
 *             if c_encoding:
 *                 if size + 1 > c_string_size:             # <<<<<<<<<<<<<<
 *                     c_string_size = size + 1
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)
 */
      __pyx_t_2 = (((__pyx_v_size + 1) > __pyx_v_c_string_size) != 0);
      if (__pyx_t_2) {

        /* "clickhouse_driver/bufferedreader.pyx":114
 *             if c_encoding:
 *                 if size + 1 > c_string_size:
 *                     c_string_size = size + 1             # <<<<<<<<<<<<<<
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)
 *                     if c_string is NULL:
 */
        __pyx_v_c_string_size = (__pyx_v_size + 1);

        /* "clickhouse_driver/bufferedreader.pyx":115
 *                 if size + 1 > c_string_size:
 *                     c_string_size = size + 1
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)             # <<<<<<<<<<<<<<
 *                     if c_string is NULL:
 *                         raise MemoryError()
 */
        __pyx_v_c_string = ((char *)PyMem_Realloc(__pyx_v_c_string, __pyx_v_c_string_size));

        /* "clickhouse_driver/bufferedreader.pyx":116
 *                     c_string_size = size + 1
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)
 *                     if c_string is NULL:             # <<<<<<<<<<<<<<
 *                         raise MemoryError()
 *                 c_string[size] = 0
 */
        __pyx_t_2 = ((__pyx_v_c_string == NULL) != 0);
        if (unlikely(__pyx_t_2)) {

          /* "clickhouse_driver/bufferedreader.pyx":117
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)
 *                     if c_string is NULL:
 *                         raise MemoryError()             # <<<<<<<<<<<<<<
 *                 c_string[size] = 0
 *                 bytes_read = 0
 */
          PyErr_NoMemory(); __PYX_ERR(0, 117, __pyx_L1_error)

          /* "clickhouse_driver/bufferedreader.pyx":116
 *                     c_string_size = size + 1
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)
 *                     if c_string is NULL:             # <<<<<<<<<<<<<<
 *                         raise MemoryError()
 *                 c_string[size] = 0
 */
        }

        /* "clickhouse_driver/bufferedreader.pyx":113
 *
 *             if c_encoding:
 *                 if size + 1 > c_string_size:             # <<<<<<<<<<<<<<
 *                     c_string_size = size + 1
 *                     c_string = <char *> PyMem_Realloc(c_string, c_string_size)
 */
      }

      /* "clickhouse_driver/bufferedreader.pyx":118
 *                     if c_string is NULL:
 *                         raise MemoryError()
 *                 c_string[size] = 0             # <<<<<<<<<<<<<<
 *                 bytes_read = 0
 *
 */
      (__pyx_v_c_string[__pyx_v_size]) = 0;

      /* "clickhouse_driver/bufferedreader.pyx":119
 *                         raise MemoryError()
 *                 c_string[size] = 0
 *                 bytes_read = 0             # <<<<<<<<<<<<<<
 *
 *             # Decoding pure c strings in Cython is faster than in pure Python.
 */
      __pyx_v_bytes_read = 0;

      /* "clickhouse_driver/bufferedreader.pyx":112
 *             right = self.position + size
 *
 *             if c_encoding:             # <<<<<<<<<<<<<<
 *                 if size + 1 > c_string_size:
 *                     c_string_size = size + 1
 */
    }

    /* "clickhouse_driver/bufferedreader.pyx":124
 *             # We need to copy it into buffer for adding null symbol at the end.
 *             # In ClickHouse block there is no null
 *             if right > self.current_buffer_size:             # <<<<<<<<<<<<<<
 *                 if c_encoding:
 *                     memcpy(&c_string[bytes_read], &buffer_ptr[self.position],
 */
    __pyx_t_2 = ((__pyx_v_right > __pyx_v_self->current_buffer_size) != 0);
    if (__pyx_t_2) {

      /* "clickhouse_driver/bufferedreader.pyx":125
 *             # In ClickHouse block there is no null
 *             if right > self.current_buffer_size:
 *                 if c_encoding:             # <<<<<<<<<<<<<<
 *                     memcpy(&c_string[bytes_read], &buffer_ptr[self.position],
 *                            self.current_buffer_size - self.position)
 */
      __pyx_t_2 = (__pyx_v_c_encoding != 0);
      if (__pyx_t_2) {

        /* "clickhouse_driver/bufferedreader.pyx":126
 *             if right > self.current_buffer_size:
 *                 if c_encoding:
 *                     memcpy(&c_string[bytes_read], &buffer_ptr[self.position],             # <<<<<<<<<<<<<<
 *                            self.current_buffer_size - self.position)
 *                 else:
 */
        (void)(memcpy((&(__pyx_v_c_string[__pyx_v_bytes_read])), (&(__pyx_v_buffer_ptr[__pyx_v_self->position])), (__pyx_v_self->current_buffer_size - __pyx_v_self->position)));

        /* "clickhouse_driver/bufferedreader.pyx":125
 *             # In ClickHouse block there is no null
 *             if right > self.current_buffer_size:
 *                 if c_encoding:             # <<<<<<<<<<<<<<
 *                     memcpy(&c_string[bytes_read], &buffer_ptr[self.position],
 *                            self.current_buffer_size - self.position)
 */
        goto __pyx_L15;
      }

      /* "clickhouse_driver/bufferedreader.pyx":129
 *                            self.current_buffer_size - self.position)
 *                 else:
 *                     rv = PyBytes_FromStringAndSize(             # <<<<<<<<<<<<<<
 *                         &buffer_ptr[self.position],
 *                         self.current_buffer_size - self.position
 */
      /*else*/ {

        /* "clickhouse_driver/bufferedreader.pyx":131
 *                     rv = PyBytes_FromStringAndSize(
 *                         &buffer_ptr[self.position],
 *                         self.current_buffer_size - self.position             # <<<<<<<<<<<<<<
 *                     )
 *
 */
        __pyx_t_1 = PyBytes_FromStringAndSize((&(__pyx_v_buffer_ptr[__pyx_v_self->position])), (__pyx_v_self->current_buffer_size - __pyx_v_self->position)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 129, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_DECREF_SET(__pyx_v_rv, __pyx_t_1);
        __pyx_t_1 = 0;
      }
      __pyx_L15:;

      /* "clickhouse_driver/bufferedreader.pyx":134
 *                     )
 *
 *                 bytes_read = self.current_buffer_size - self.position             # <<<<<<<<<<<<<<
 *                 # Read the rest of the string.
 *                 while bytes_read != size:
 */
      __pyx_v_bytes_read = (__pyx_v_self->current_buffer_size - __pyx_v_self->position);

      /* "clickhouse_driver/bufferedreader.pyx":136
 *                 bytes_read = self.current_buffer_size - self.position
 *                 # Read the rest of the string.
 *                 while bytes_read != size:             # <<<<<<<<<<<<<<
 *                     self.position = size - bytes_read
 *
 */
      while (1) {
        __pyx_t_2 = ((__pyx_v_bytes_read != __pyx_v_size) != 0);
        if (!__pyx_t_2) break;

        /* "clickhouse_driver/bufferedreader.pyx":137
 *                 # Read the rest of the string.
 *                 while bytes_read != size:
 *                     self.position = size - bytes_read             # <<<<<<<<<<<<<<
 *
 *                     self.read_into_buffer()
 */
        __pyx_v_self->position = (__pyx_v_size - __pyx_v_bytes_read);

        /* "clickhouse_driver/bufferedreader.pyx":139
 *                     self.position = size - bytes_read
 *
 *                     self.read_into_buffer()             # <<<<<<<<<<<<<<
 *                     # `read_into_buffer` can override buffer
 *                     buffer_ptr = PyByteArray_AsString(self.buffer)
 */
        __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_read_into_buffer); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 139, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_3);
        __pyx_t_4 = NULL;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
          __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
          if (likely(__pyx_t_4)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
            __Pyx_INCREF(__pyx_t_4);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_3, function);
          }
        }
        __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_3);
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 139, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "clickhouse_driver/bufferedreader.pyx":141
 *                     self.read_into_buffer()
 *                     # `read_into_buffer` can override buffer
 *                     buffer_ptr = PyByteArray_AsString(self.buffer)             # <<<<<<<<<<<<<<
 *                     # There can be not enough data in buffer.
 *                     self.position = min(
 */
        __pyx_t_1 = __pyx_v_self->buffer;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_v_buffer_ptr = PyByteArray_AsString(__pyx_t_1);
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "clickhouse_driver/bufferedreader.pyx":144
 *                     # There can be not enough data in buffer.
 *                     self.position = min(
 *                         self.position, self.current_buffer_size             # <<<<<<<<<<<<<<
 *                     )
 *                     if c_encoding:
 */
        __pyx_t_9 = __pyx_v_self->current_buffer_size;
        __pyx_t_10 = __pyx_v_self->position;
        if (((__pyx_t_9 < __pyx_t_10) != 0)) {
          __pyx_t_11 = __pyx_t_9;
        } else {
          __pyx_t_11 = __pyx_t_10;
        }

        /* "clickhouse_driver/bufferedreader.pyx":143
 *                     buffer_ptr = PyByteArray_AsString(self.buffer)
 *                     # There can be not enough data in buffer.
 *                     self.position = min(             # <<<<<<<<<<<<<<
 *                         self.position, self.current_buffer_size
 *                     )
 */
        __pyx_v_self->position = __pyx_t_11;

        /* "clickhouse_driver/bufferedreader.pyx":146
 *                         self.position, self.current_buffer_size
 *                     )
 *                     if c_encoding:             # <<<<<<<<<<<<<<
 *                         memcpy(
 *                             &c_string[bytes_read], buffer_ptr, self.position
 */
        __pyx_t_2 = (__pyx_v_c_encoding != 0);
        if (__pyx_t_2) {

          /* "clickhouse_driver/bufferedreader.pyx":147
 *                     )
 *                     if c_encoding:
 *                         memcpy(             # <<<<<<<<<<<<<<
 *                             &c_string[bytes_read], buffer_ptr, self.position
 *                         )
 */
          (void)(memcpy((&(__pyx_v_c_string[__pyx_v_bytes_read])), __pyx_v_buffer_ptr, __pyx_v_self->position));

          /* "clickhouse_driver/bufferedreader.pyx":146
 *                         self.position, self.current_buffer_size
 *                     )
 *                     if c_encoding:             # <<<<<<<<<<<<<<
 *                         memcpy(
 *                             &c_string[bytes_read], buffer_ptr, self.position
 */
          goto __pyx_L18;
        }

        /* "clickhouse_driver/bufferedreader.pyx":151
 *                         )
 *                     else:
 *                         rv += PyBytes_FromStringAndSize(             # <<<<<<<<<<<<<<
 *                             buffer_ptr, self.position
 *                         )
 */
        /*else*/ {

          /* "clickhouse_driver/bufferedreader.pyx":152
 *                     else:
 *                         rv += PyBytes_FromStringAndSize(
 *                             buffer_ptr, self.position             # <<<<<<<<<<<<<<
 *                         )
 *                     bytes_read += self.position
 */
          __pyx_t_1 = PyBytes_FromStringAndSize(__pyx_v_buffer_ptr, __pyx_v_self->position); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 151, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_1);

          /* "clickhouse_driver/bufferedreader.pyx":151
 *                         )
 *                     else:
 *                         rv += PyBytes_FromStringAndSize(             # <<<<<<<<<<<<<<
 *                             buffer_ptr, self.position
 *                         )
 */
          __pyx_t_3 = PyNumber_InPlaceAdd(__pyx_v_rv, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 151, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_3);
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
          __Pyx_DECREF_SET(__pyx_v_rv, __pyx_t_3);
          __pyx_t_3 = 0;
        }
        __pyx_L18:;

        /* "clickhouse_driver/bufferedreader.pyx":154
 *                             buffer_ptr, self.position
 *                         )
 *                     bytes_read += self.position             # <<<<<<<<<<<<<<
 *
 *             else:
 */
        __pyx_v_bytes_read = (__pyx_v_bytes_read + __pyx_v_self->position);
      }

      /* "clickhouse_driver/bufferedreader.pyx":124
 *             # We need to copy it into buffer for adding null symbol at the end.
 *             # In ClickHouse block there is no null
 *             if right > self.current_buffer_size:             # <<<<<<<<<<<<<<
 *                 if c_encoding:
 *                     memcpy(&c_string[bytes_read], &buffer_ptr[self.position],
 */
      goto __pyx_L14;
    }

    /* "clickhouse_driver/bufferedreader.pyx":157
 *
 *             else:
 *                 if c_encoding:             # <<<<<<<<<<<<<<
 *                     memcpy(c_string, &buffer_ptr[self.position], size)
 *                 else:
 */
    /*else*/ {
      __pyx_t_2 = (__pyx_v_c_encoding != 0);
      if (__pyx_t_2) {

        /* "clickhouse_driver/bufferedreader.pyx":158
 *             else:
 *                 if c_encoding:
 *                     memcpy(c_string, &buffer_ptr[self.position], size)             # <<<<<<<<<<<<<<
 *                 else:
 *                     rv = PyBytes_FromStringAndSize(
 */
        (void)(memcpy(__pyx_v_c_string, (&(__pyx_v_buffer_ptr[__pyx_v_self->position])), __pyx_v_size));

        /* "clickhouse_driver/bufferedreader.pyx":157
 *
 *             else:
 *                 if c_encoding:             # <<<<<<<<<<<<<<
 *                     memcpy(c_string, &buffer_ptr[self.position], size)
 *                 else:
 */
        goto __pyx_L19;
      }

      /* "clickhouse_driver/bufferedreader.pyx":160
 *                     memcpy(c_string, &buffer_ptr[self.position], size)
 *                 else:
 *                     rv = PyBytes_FromStringAndSize(             # <<<<<<<<<<<<<<
 *                         &buffer_ptr[self.position], size
 *                     )
 */
      /*else*/ {

        /* "clickhouse_driver/bufferedreader.pyx":161
 *                 else:
 *                     rv = PyBytes_FromStringAndSize(
 *                         &buffer_ptr[self.position], size             # <<<<<<<<<<<<<<
 *                     )
 *                 self.position = right
 */
        __pyx_t_3 = PyBytes_FromStringAndSize((&(__pyx_v_buffer_ptr[__pyx_v_self->position])), __pyx_v_size); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 160, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_3);
        __Pyx_DECREF_SET(__pyx_v_rv, __pyx_t_3);
        __pyx_t_3 = 0;
      }
      __pyx_L19:;

      /* "clickhouse_driver/bufferedreader.pyx":163
 *                         &buffer_ptr[self.position], size
 *                     )
 *                 self.position = right             # <<<<<<<<<<<<<<
 *
 *             if c_encoding:
 */
      __pyx_v_self->position = __pyx_v_right;
    }
    __pyx_L14:;

    /* "clickhouse_driver/bufferedreader.pyx":165
 *                 self.position = right
 *
 *             if c_encoding:             # <<<<<<<<<<<<<<
 *                 try:
 *                     rv = c_string[:size].decode(c_encoding)
 */
    __pyx_t_2 = (__pyx_v_c_encoding != 0);
    if (__pyx_t_2) {

      /* "clickhouse_driver/bufferedreader.pyx":166
 *
 *             if c_encoding:
 *                 try:             # <<<<<<<<<<<<<<
 *                     rv = c_string[:size].decode(c_encoding)
 *                 except UnicodeDecodeError:
 */
      {
        __Pyx_PyThreadState_declare
        __Pyx_PyThreadState_assign
        __Pyx_ExceptionSave(&__pyx_t_12, &__pyx_t_13, &__pyx_t_14);
        __Pyx_XGOTREF(__pyx_t_12);
        __Pyx_XGOTREF(__pyx_t_13);
        __Pyx_XGOTREF(__pyx_t_14);
        /*try:*/ {

          /* "clickhouse_driver/bufferedreader.pyx":167
 *             if c_encoding:
 *                 try:
 *                     rv = c_string[:size].decode(c_encoding)             # <<<<<<<<<<<<<<
 *                 except UnicodeDecodeError:
 *                     rv = PyBytes_FromStringAndSize(c_string, size)
 */
          __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_c_string, 0, __pyx_v_size, __pyx_v_c_encoding, NULL, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 167, __pyx_L21_error)
          __Pyx_GOTREF(__pyx_t_3);
          __Pyx_DECREF_SET(__pyx_v_rv, __pyx_t_3);
          __pyx_t_3 = 0;

          /* "clickhouse_driver/bufferedreader.pyx":166
 *
 *             if c_encoding:
 *                 try:             # <<<<<<<<<<<<<<
 *                     rv = c_string[:size].decode(c_encoding)
 *                 except UnicodeDecodeError:
 */
        }
        __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
        __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
        __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
        goto __pyx_L28_try_end;
        __pyx_L21_error:;
        __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;

        /* "clickhouse_driver/bufferedreader.pyx":168
 *                 try:
 *                     rv = c_string[:size].decode(c_encoding)
 *                 except UnicodeDecodeError:             # <<<<<<<<<<<<<<
 *                     rv = PyBytes_FromStringAndSize(c_string, size)
 *
 */
        __pyx_t_15 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_UnicodeDecodeError);
        if (__pyx_t_15) {
          __Pyx_AddTraceback("clickhouse_driver.bufferedreader.BufferedReader.read_strings", __pyx_clineno, __pyx_lineno, __pyx_filename);
          if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_4) < 0) __PYX_ERR(0, 168, __pyx_L23_except_error)
          __Pyx_GOTREF(__pyx_t_3);
          __Pyx_GOTREF(__pyx_t_1);
          __Pyx_GOTREF(__pyx_t_4);

          /* "clickhouse_driver/bufferedreader.pyx":169
 *                     rv = c_string[:size].decode(c_encoding)
 *                 except UnicodeDecodeError:
 *                     rv = PyBytes_FromStringAndSize(c_string, size)             # <<<<<<<<<<<<<<
 *
 *             Py_INCREF(rv)
 */
          __pyx_t_16 = PyBytes_FromStringAndSize(__pyx_v_c_string, __pyx_v_size); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 169, __pyx_L23_except_error)
          __Pyx_GOTREF(__pyx_t_16);
          __Pyx_DECREF_SET(__pyx_v_rv, __pyx_t_16);
          __pyx_t_16 = 0;
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
          __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
          goto __pyx_L22_exception_handled;
        }
        goto __pyx_L23_except_error;
        __pyx_L23_except_error:;

        /* "clickhouse_driver/bufferedreader.pyx":166
 *
 *             if c_encoding:
 *                 try:             # <<<<<<<<<<<<<<
 *                     rv = c_string[:size].decode(c_encoding)
 *                 except UnicodeDecodeError:
 */
        __Pyx_XGIVEREF(__pyx_t_12);
        __Pyx_XGIVEREF(__pyx_t_13);
        __Pyx_XGIVEREF(__pyx_t_14);
        __Pyx_ExceptionReset(__pyx_t_12, __pyx_t_13, __pyx_t_14);
        goto __pyx_L1_error;
        __pyx_L22_exception_handled:;
        __Pyx_XGIVEREF(__pyx_t_12);
        __Pyx_XGIVEREF(__pyx_t_13);
        __Pyx_XGIVEREF(__pyx_t_14);
        __Pyx_ExceptionReset(__pyx_t_12, __pyx_t_13, __pyx_t_14);
        __pyx_L28_try_end:;
      }

      /* "clickhouse_driver/bufferedreader.pyx":165
 *                 self.position = right
 *
 *             if c_encoding:             # <<<<<<<<<<<<<<
 *                 try:
 *                     rv = c_string[:size].decode(c_encoding)
 */
    }

    /* "clickhouse_driver/bufferedreader.pyx":171
 *                     rv = PyBytes_FromStringAndSize(c_string, size)
 *
 *             Py_INCREF(rv)             # <<<<<<<<<<<<<<
 *             PyTuple_SET_ITEM(items, i, rv)
 *
 */
    Py_INCREF(__pyx_v_rv);

    /* "clickhouse_driver/bufferedreader.pyx":172
 *
 *             Py_INCREF(rv)
 *             PyTuple_SET_ITEM(items, i, rv)             # <<<<<<<<<<<<<<
 *
 *         if c_string:
 */
    PyTuple_SET_ITEM(__pyx_v_items, __pyx_v_i, __pyx_v_rv);
  }

  /* "clickhouse_driver/bufferedreader.pyx":174
 *             PyTuple_SET_ITEM(items, i, rv)
 *
 *         if c_string:             # <<<<<<<<<<<<<<
 *             PyMem_Free(c_string)
 *
 */
  __pyx_t_2 = (__pyx_v_c_string != 0);
  if (__pyx_t_2) {

    /* "clickhouse_driver/bufferedreader.pyx":175
 *
 *         if c_string:
 *             PyMem_Free(c_string)             # <<<<<<<<<<<<<<
 *
 *         return items
 */
    PyMem_Free(__pyx_v_c_string);

    /* "clickhouse_driver/bufferedreader.pyx":174
 *             PyTuple_SET_ITEM(items, i, rv)
 *
 *         if c_string:             # <<<<<<<<<<<<<<
 *             PyMem_Free(c_string)
 *
 */
  }

  /* "clickhouse_driver/bufferedreader.pyx":177
 *             PyMem_Free(c_string)
 *
 *         return items             # <<<<<<<<<<<<<<
 *
 *
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_items);
  __pyx_r = __pyx_v_items;
  goto __pyx_L0;

  /* "clickhouse_driver/bufferedreader.pyx":62
 *         return rv
 *
 *     def read_strings(self, Py_ssize_t n_items, encoding=None):             # <<<<<<<<<<<<<<
 *         """
 *         Python has great overhead between function calls.
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_16);
  __Pyx_AddTraceback("clickhouse_driver.bufferedreader.BufferedReader.read_strings", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_items);
  __Pyx_XDECREF(__pyx_v_rv);
  __Pyx_XDECREF(__pyx_v_encoding);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: clickhouse_driver/bufferedreader.c.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 def delete_user_session(user_id, session_key):
    try:
        log.info("Deleted session_key : " + session_key)
        session.query(User_Sessions).filter(User_Sessions.user_id==user_id,
                                            User_Sessions.session_key==session_key).delete()
        session.commit()
    except (exc.OperationalError, exc.InvalidRequestError):
        session.rollback()
        log.exception(e)
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: cps/ub.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def bulk_get_publicised_groups(self, destination, user_ids):
        """Get the groups a list of users are publicising
        """

        path = _create_v1_path("/get_groups_publicised")

        content = {"user_ids": user_ids}

        return self.client.post_json(
            destination=destination, path=path, data=content, ignore_backoff=True
        )
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: synapse/federation/transport/client.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 synapse/federation/transport/client.py::_create_v1_path

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
         def get_received_txn_response(*args):
            return defer.succeed(None)
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: tests/handlers/test_typing.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 def clamp_dyn_array(ir_node):
    t = ir_node.typ
    assert isinstance(t, DArrayType)
    return ["assert", ["le", get_dyn_array_count(ir_node), t.count]]
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: vyper/codegen/core.py.
//This function is called by other functions within the repository:
 vyper/codegen/core.py::make_setter
//This function itself calls other functions within the repository:
 vyper/codegen/core.py::get_dyn_array_count
vyper/codegen/core.py::isinstance

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def _from_raw_x509_ptr(cls, x509):
        cert = cls.__new__(cls)
        cert._x509 = _ffi.gc(x509, _lib.X509_free)
        cert._issuer_invalidator = _X509NameInvalidator()
        cert._subject_invalidator = _X509NameInvalidator()
        return cert
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: src/OpenSSL/crypto.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 src/OpenSSL/crypto.py::_X509NameInvalidator

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def test_existing_file_permissions_are_not_modified(self, init, tmpdir):
        """If the log file already exists, we should not modify its permissions

        See https://bugs.launchpad.net/cloud-init/+bug/1900837.
        """
        # Use a mode that will never be made the default so this test will
        # always be valid
        mode = 0o606
        log_file = tmpdir.join("cloud-init.log")
        log_file.ensure()
        log_file.chmod(mode)
        init._cfg = {"def_log_file": str(log_file)}

        init._initialize_filesystem()

        assert mode == stat.S_IMODE(log_file.stat().mode)
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: tests/unittests/test_stages.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 tests/unittests/test_stages.py::str

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 def get_problem_responses(request, course_id):
    """
    Initiate generation of a CSV file containing all student answers
    to a given problem.

    Responds with JSON
        {"status": "... status message ..."}

    if initiation is successful (or generation task is already running).

    Responds with BadRequest if problem location is faulty.
    """
    course_key = CourseKey.from_string(course_id)
    problem_location = request.GET.get('problem_location', '')

    try:
        problem_key = UsageKey.from_string(problem_location)
        # Are we dealing with an "old-style" problem location?
        run = problem_key.run
        if not run:
            problem_key = course_key.make_usage_key_from_deprecated_string(problem_location)
        if problem_key.course_key != course_key:
            raise InvalidKeyError(type(problem_key), problem_key)
    except InvalidKeyError:
        return JsonResponseBadRequest(_("Could not find problem with this location."))

    try:
        instructor_task.api.submit_calculate_problem_responses_csv(request, course_key, problem_location)
        success_status = _(
            "The problem responses report is being created."
            " To view the status of the report, see Pending Tasks below."
        )
        return JsonResponse({"status": success_status})
    except AlreadyRunningError:
        already_running_status = _(
            "A problem responses report generation task is already in progress. "
            "Check the 'Pending Tasks' table for the status of the task. "
            "When completed, the report will be available for download in the table below."
        )
        return JsonResponse({"status": already_running_status})
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: lms/djangoapps/instructor/views/api.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 lms/djangoapps/instructor/views/api.py::cache_control
lms/djangoapps/instructor/views/api.py::JsonResponse
lms/djangoapps/instructor/views/api.py::JsonResponseBadRequest
lms/djangoapps/instructor/views/api.py::type
lms/djangoapps/instructor/views/api.py::InvalidKeyError
lms/djangoapps/instructor/views/api.py::require_level
lms/djangoapps/instructor/views/api.py::_

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def generate(self, module):

        if self.csr_content is None and not os.path.exists(self.csr_path):
            raise CertificateError(
                'The certificate signing request file %s does not exist' % self.csr_path
            )

        if not os.path.exists(self.accountkey_path):
            raise CertificateError(
                'The account key %s does not exist' % self.accountkey_path
            )

        if not os.path.exists(self.challenge_path):
            raise CertificateError(
                'The challenge path %s does not exist' % self.challenge_path
            )

        if not self.check(module, perms_required=False) or self.force:
            acme_tiny_path = self.module.get_bin_path('acme-tiny', required=True)
            command = [acme_tiny_path]
            if self.use_chain:
                command.append('--chain')
            command.extend(['--account-key', self.accountkey_path])
            if self.csr_content is not None:
                # We need to temporarily write the CSR to disk
                fd, tmpsrc = tempfile.mkstemp()
                module.add_cleanup_file(tmpsrc)  # Ansible will delete the file on exit
                f = os.fdopen(fd, 'wb')
                try:
                    f.write(self.csr_content)
                except Exception as err:
                    try:
                        f.close()
                    except Exception as dummy:
                        pass
                    module.fail_json(
                        msg="failed to create temporary CSR file: %s" % to_native(err),
                        exception=traceback.format_exc()
                    )
                f.close()
                command.extend(['--csr', tmpsrc])
            else:
                command.extend(['--csr', self.csr_path])
            command.extend(['--acme-dir', self.challenge_path])
            command.extend(['--directory-url', self.acme_directory])

            try:
                crt = module.run_command(command, check_rc=True)[1]
                if self.backup:
                    self.backup_file = module.backup_local(self.path)
                write_file(module, to_bytes(crt))
                self.changed = True
            except OSError as exc:
                raise CertificateError(exc)

        file_args = module.load_file_common_arguments(module.params)
        if module.set_fs_attributes_if_different(file_args, False):
            self.changed = True
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: plugins/modules/x509_certificate.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 plugins/modules/x509_certificate.py::CertificateError
plugins/modules/x509_certificate.py::to_bytes
plugins/modules/x509_certificate.py::write_file
plugins/modules/x509_certificate.py::to_native

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
   node.addEventListener("mouseenter", () => {
    const t = tooltip();
    t.innerHTML = getter();
  });
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: frontend/src/charts/tooltip.ts.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
                 def _check_env():
                    if not env:
                        return
                    for k, v in env.items():
                        _check_nul(k)
                        _check_nul(v)
                        if '=' in k:
                            raise ValueError("'=' not allowed in environment keys")
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: src/gevent/subprocess.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 src/gevent/subprocess.py::ValueError
src/gevent/subprocess.py::_check_nul

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def _on_ssl_errors(self):
        self._has_ssl_errors = True
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: qutebrowser/browser/webkit/webkittab.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 qutebrowser/browser/webkit/webkittab.py::pyqtSlot

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def connector_template_missing_dataset(
        self,
        planet_express_config,
        planet_express_functions,
        planet_express_icon,
    ):
        return create_zip_file(
            {
                "config.yml": planet_express_config,
                "functions.py": planet_express_functions,
                "icon.svg": planet_express_icon,
            }
        )
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: tests/ops/api/v1/endpoints/test_saas_config_endpoints.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 tests/ops/api/v1/endpoints/test_saas_config_endpoints.py::create_zip_file

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
 static CYTHON_INLINE int __Pyx_dict_iter_next(
        PyObject* iter_obj, CYTHON_NCP_UNUSED Py_ssize_t orig_length, CYTHON_NCP_UNUSED Py_ssize_t* ppos,
        PyObject** pkey, PyObject** pvalue, PyObject** pitem, int source_is_dict) {
    PyObject* next_item;
#if !CYTHON_COMPILING_IN_PYPY
    if (source_is_dict) {
        PyObject *key, *value;
        if (unlikely(orig_length != PyDict_Size(iter_obj))) {
            PyErr_SetString(PyExc_RuntimeError, "dictionary changed size during iteration");
            return -1;
        }
        if (unlikely(!PyDict_Next(iter_obj, ppos, &key, &value))) {
            return 0;
        }
        if (pitem) {
            PyObject* tuple = PyTuple_New(2);
            if (unlikely(!tuple)) {
                return -1;
            }
            Py_INCREF(key);
            Py_INCREF(value);
            PyTuple_SET_ITEM(tuple, 0, key);
            PyTuple_SET_ITEM(tuple, 1, value);
            *pitem = tuple;
        } else {
            if (pkey) {
                Py_INCREF(key);
                *pkey = key;
            }
            if (pvalue) {
                Py_INCREF(value);
                *pvalue = value;
            }
        }
        return 1;
    } else if (PyTuple_CheckExact(iter_obj)) {
        Py_ssize_t pos = *ppos;
        if (unlikely(pos >= PyTuple_GET_SIZE(iter_obj))) return 0;
        *ppos = pos + 1;
        next_item = PyTuple_GET_ITEM(iter_obj, pos);
        Py_INCREF(next_item);
    } else if (PyList_CheckExact(iter_obj)) {
        Py_ssize_t pos = *ppos;
        if (unlikely(pos >= PyList_GET_SIZE(iter_obj))) return 0;
        *ppos = pos + 1;
        next_item = PyList_GET_ITEM(iter_obj, pos);
        Py_INCREF(next_item);
    } else
#endif
    {
        next_item = PyIter_Next(iter_obj);
        if (unlikely(!next_item)) {
            return __Pyx_IterFinish();
        }
    }
    if (pitem) {
        *pitem = next_item;
    } else if (pkey && pvalue) {
        if (__Pyx_unpack_tuple2(next_item, pkey, pvalue, source_is_dict, source_is_dict, 1))
            return -1;
    } else if (pkey) {
        *pkey = next_item;
    } else {
        *pvalue = next_item;
    }
    return 1;
}
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: clickhouse_driver/columns/stringcolumn.c.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:

//Detection
 Only reply with 'Yes' or 'No', the Answer is:


If the following code snippet has any vulnerabilities, output 'Yes'; otherwise, output 'No'.
//The function being analyzed is:
 //Code Start
     def handle(self, request, data):
        # For now we'll allow fallback to OPENSTACK_KEYSTONE_URL if the
        # form post doesn't include a region.
        endpoint = data.get('region', None) or settings.OPENSTACK_KEYSTONE_URL
        region_name = dict(self.fields['region'].choices)[endpoint]
        request.session['region_endpoint'] = endpoint
        request.session['region_name'] = region_name

        redirect_to = request.REQUEST.get(REDIRECT_FIELD_NAME, "")

        if data.get('tenant', None):
            try:
                token = api.token_create(request,
                                         data.get('tenant'),
                                         data['username'],
                                         data['password'])
                tenants = api.tenant_list_for_token(request, token.id)
            except:
                msg = _('Unable to authenticate for that project.')
                exceptions.handle(request,
                                  message=msg,
                                  escalate=True)
            _set_session_data(request, token)
            user = users.get_user_from_request(request)
            redirect = redirect_to or base.Horizon.get_user_home(user)
            return shortcuts.redirect(redirect)

        elif data.get('username', None):
            try:
                unscoped_token = api.token_create(request,
                                                  '',
                                                  data['username'],
                                                  data['password'])
            except keystone_exceptions.Unauthorized:
                exceptions.handle(request,
                                  _('Invalid user name or password.'))
            except:
                # If we get here we don't want to show a stack trace to the
                # user. However, if we fail here, there may be bad session
                # data that's been cached already.
                request.session.clear()
                exceptions.handle(request,
                                  message=_("An error occurred authenticating."
                                            " Please try again later."),
                                  escalate=True)

            # Unscoped token
            request.session['unscoped_token'] = unscoped_token.id
            request.user.username = data['username']

            # Get the tenant list, and log in using first tenant
            # FIXME (anthony): add tenant chooser here?
            try:
                tenants = api.tenant_list_for_token(request, unscoped_token.id)
            except:
                exceptions.handle(request)
                tenants = []

            # Abort if there are no valid tenants for this user
            if not tenants:
                messages.error(request,
                               _('You are not authorized for any projects.') %
                                {"user": data['username']},
                               extra_tags="login")
                return

            # Create a token.
            # NOTE(gabriel): Keystone can return tenants that you're
            # authorized to administer but not to log into as a user, so in
            # the case of an Unauthorized error we should iterate through
            # the tenants until one succeeds or we've failed them all.
            while tenants:
                tenant = tenants.pop()
                try:
                    token = api.token_create_scoped(request,
                                                    tenant.id,
                                                    unscoped_token.id)
                    break
                except:
                    # This will continue for recognized Unauthorized
                    # exceptions from keystoneclient.
                    exceptions.handle(request, ignore=True)
                    token = None
            if token is None:
                raise exceptions.NotAuthorized(
                    _("You are not authorized for any available projects."))

            _set_session_data(request, token)
            user = users.get_user_from_request(request)
        redirect = redirect_to or base.Horizon.get_user_home(user)
        return shortcuts.redirect(redirect)
// Code End

//To assist with your evaluation, here is some contextual information. Use the contextual information (if any) to support your evaluation of vulnerability detection.
//The function is located in the file: horizon/views/auth_forms.py.
//This function is called by other functions within the repository:

//This function itself calls other functions within the repository:
 horizon/views/auth_forms.py::dict
horizon/views/auth_forms.py::_
horizon/views/auth_forms.py::_set_session_data

//Detection
 Only reply with 'Yes' or 'No', the Answer is: