Affected by GO-2022-1119
and 1 other vulnerabilities
GO-2022-1119 : Tailscale daemon is vulnerable to information disclosure via CSRF in tailscale.com
GO-2022-1120 : Tailscale Windows daemon is vulnerable to RCE via CSRF in tailscale.com
Discover Packages
tailscale.com
util
lineread
package
Version:
v1.26.1
Opens a new window with list of versions in this module.
Published: Jun 18, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 20
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types File(name, fn) Reader(r, fn)
Documentation
¶
Package lineread reads lines from files. It's not fancy, but it got repetitive.
File opens name and calls fn for each line. It returns an error if the Open failed
or once fn returns an error.
Reader calls fn for each line.
If fn returns an error, Reader stops reading and returns that error.
Reader may also return errors encountered reading and parsing from r.
To stop reading early, use a sentinel "stop" error value and ignore
it when returned from Reader.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.