Skip to content
  • Ben Gamari's avatar
    ec164fcb
    base: Advertise linear time of readFloat · ec164fcb
    Ben Gamari authored and Zubin's avatar Zubin committed
    As noted in #23538, `readFloat` has runtime that scales nonlinearly in
    the size of its input. Consequently, its use on untrusted input can
    be exploited as a denial-of-service vector. Point this out and suggest
    use of `read` instead.
    
    See #23538.
    
    (cherry picked from commit b33113c8)
    ec164fcb
    base: Advertise linear time of readFloat
    Ben Gamari authored and Zubin's avatar Zubin committed
    As noted in #23538, `readFloat` has runtime that scales nonlinearly in
    the size of its input. Consequently, its use on untrusted input can
    be exploited as a denial-of-service vector. Point this out and suggest
    use of `read` instead.
    
    See #23538.
    
    (cherry picked from commit b33113c8)
Loading