diff options
| author | Matthias Andree <mandree@FreeBSD.org> | 2026-02-01 17:41:39 +0000 |
|---|---|---|
| committer | Matthias Andree <mandree@FreeBSD.org> | 2026-02-01 17:52:56 +0000 |
| commit | 991ec6040be6586e5dedb2d240affbf08359ae73 (patch) | |
| tree | d83ab98239cb2facef79cff9e6bace4f381de48d /graphics/py-blockdiag | |
| parent | b4381c792276f1d5c09abec79f38490433d6cbd1 (diff) | |
This reverts commit 6b84ea6ad1955a2bc13f17ddd3e0da66161f6506.
On platforms where ssize_t is 32 bits wide, the comparison will be made
unsigned (ssize_t converted to an unsigned value);
on platforms where ssize_t is wider than uint32_t, the comparison will
be made signed (uint32_t converted to the wider signed ssize_t).
That also has repercussions in that bytes_left a few lines down
will be negative if and only if the passed in size_t count argument is
greater than INT**_MAX, with ** being whatever size the "size_t count"
is.
If you don't see a compiler error on that line, that does not imply the
code is right or the bug is away, but that the compiler warning did not
trigger in that situation due to a warning bug. The upstream maintainer
did want the code break compile in that case.
Please take this upstream before reducing the effect of the BROKEN.
PR: 292852
Diffstat (limited to 'graphics/py-blockdiag')
0 files changed, 0 insertions, 0 deletions
