Affected by GO-2022-0540
and 17 other vulnerabilities
GO-2022-0540 : Mattermost users could access some sensitive information via API call in github.com/mattermost/mattermost-server
GO-2022-0576 : Insecure plugin handling in Mattermost in github.com/mattermost/mattermost-server
GO-2022-0595 : Resource exhaustion in Mattermost in github.com/mattermost/mattermost-server
GO-2022-0599 : Improper Control of a Resource Through its Lifetime in Mattermost in github.com/mattermost/mattermost-server
GO-2022-0604 : Cross-site Scripting in Mattermost in github.com/mattermost/mattermost-server
GO-2022-0616 : Improper Privilege Management in Mattermost in github.com/mattermost/mattermost-server
GO-2023-1939 : Mattermost Server Sensitive Data Exposure in github.com/mattermost/mattermost
GO-2024-2444 : Mattermost allows demoted guests to change group names in github.com/mattermost/mattermost-server
GO-2024-2446 : Mattermost Cross-site Scripting vulnerability in github.com/mattermost/mattermost-server
GO-2024-2448 : Mattermost notified all users in the channel when using WebSockets to respond individually in github.com/mattermost/mattermost-server
GO-2024-2450 : Mattermost viewing archived public channels permissions vulnerability in github.com/mattermost/mattermost-server
GO-2024-2707 : Mattermost Server Improper Access Control in github.com/mattermost/mattermost-server
GO-2024-3164 : Mattermost fails to strip `embeds` from `metadata` when broadcasting `posted` events in github.com/mattermost/mattermost-server
GO-2024-3227 : Mattermost incorrectly issues two sessions when using desktop SSO in github.com/mattermost/mattermost-server
GO-2024-3232 : Mattermost Server allows user to get private channel names in github.com/mattermost/mattermost-server
GO-2024-3233 : Mattermost Server Path Traversal vulnerability that leads to Cross-Site Request Forgery in github.com/mattermost/mattermost-server
GO-2024-3234 : Mattermost Server vulnerable to application crash from attacker-generated large response in github.com/mattermost/mattermost-server
GO-2024-3235 : Mattermost server allows authenticated user to delete arbitrary post in github.com/mattermost/mattermost-server
The highest tagged major version is
v6 .
Discover Packages
github.com/mattermost/mattermost-server
Godeps
_workspace
src
golang.org
x
image
math
fixed
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 2, 2015
License: AGPL-3.0, Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package fixed implements fixed-point integer types.
Int26_6 is a signed 26.6 fixed-point number.
The integer part ranges from -33554432 to 33554431, inclusive. The
fractional part has 6 bits of precision.
For example, the number one-and-a-quarter is Int26_6(1<<6 + 1<<4).
I returns the integer value i as an Int26_6.
For example, passing the integer value 2 yields Int26_6(128).
String returns a human-readable representation of a 26.6 fixed-point number.
For example, the number one-and-a-quarter becomes "1:16".
Int52_12 is a signed 52.12 fixed-point number.
The integer part ranges from -2251799813685248 to 2251799813685247,
inclusive. The fractional part has 12 bits of precision.
For example, the number one-and-a-quarter is Int52_12(1<<12 + 1<<10).
String returns a human-readable representation of a 52.12 fixed-point
number.
For example, the number one-and-a-quarter becomes "1:1024".
type Point26_6 struct {
X, Y Int26_6
}
Point26_6 is a 26.6 fixed-point coordinate pair.
It is analogous to the image.Point type in the standard library.
P returns the integer values x and y as a Point26_6.
For example, passing the integer values (2, -3) yields Point26_6{128, -192}.
Add returns the vector p+q.
Div returns the vector p/k.
Mul returns the vector p*k.
Sub returns the vector p-q.
type Point52_12 struct {
X, Y Int52_12
}
Point52_12 is a 52.12 fixed-point coordinate pair.
It is analogous to the image.Point type in the standard library.
Add returns the vector p+q.
Div returns the vector p/k.
Mul returns the vector p*k.
Sub returns the vector p-q.
type Rectangle26_6 struct {
Min, Max Point26_6
}
Rectangle26_6 is a 26.6 fixed-point coordinate rectangle. The Min bound is
inclusive and the Max bound is exclusive. It is well-formed if Min.X <=
Max.X and likewise for Y.
It is analogous to the image.Rectangle type in the standard library.
R returns the integer values minX, minY, maxX, maxY as a Rectangle26_6.
For example, passing the integer values (0, 1, 2, 3) yields
Rectangle26_6{Point26_6{0, 64}, Point26_6{128, 192}}.
Like the image.Rect function in the standard library, the returned rectangle
has minimum and maximum coordinates swapped if necessary so that it is
well-formed.
type Rectangle52_12 struct {
Min, Max Point52_12
}
Rectangle52_12 is a 52.12 fixed-point coordinate rectangle. The Min bound is
inclusive and the Max bound is exclusive. It is well-formed if Min.X <=
Max.X and likewise for Y.
It is analogous to the image.Rectangle type in the standard library.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.