[Varnish] #1145: PRIV_CALL returns same object on different function parameters

Varnish varnish-bugs at varnish-cache.org
Mon Jun 4 10:51:24 CEST 2012


#1145: PRIV_CALL returns same object on different function parameters
-----------------------+----------------------------------------------------
 Reporter:  tobixen    |        Type:  defect
   Status:  new        |    Priority:  normal
Milestone:             |   Component:  build 
  Version:  3.0.2      |    Severity:  normal
 Keywords:  PRIV_CALL  |  
-----------------------+----------------------------------------------------

Comment(by phk):

 PRIV_CALL works as it should work.

 The relevant question is if it should be used in std.fileread(), and if
 so, if it should be used the way it is now.

 Basically std.fileread() only looks at its argument the first time it is
 called and that probably breaks POLA pretty badly.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1145#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list