Skip to content

Breaks if the map key contains "\x" string #19

@arsham

Description

@arsham

Hi,

Given the following snippet:

package main

import (
    "expvar"
    "net/http"
)

func main() {
    m := expvar.NewMap("test")
    m.Add("\x00", 1)
    http.ListenAndServe(":1234", nil)
}

Expvarmon stops showing results all together. You can add a sleep time before the add and observe it only happens when the string is added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions