Displaying 5 results from an estimated 5 matches for "line_buf".
Did you mean:
line_buff
2023 Feb 15
1
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
...}
> }
> }
> #endif
>
> return ret;
> }
> +
> +void
> +nbd_internal_fork_safe_assert (int result, const char *file, long line,
> + const char *func, const char *assertion)
> +{
> + const char *line_out;
> + char line_buf[32];
> +
> + if (result)
> + return;
Since no code should ever directly call
nbd_internal_fork_safe_assert(0,...), but instead go through our macro
that has already filtered on expression's value, this conditional is
technically dead code; but I'm okay whether it stays in or g...
2023 Feb 20
2
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
...>>
>> return ret;
>> }
>> +
>> +void
>> +nbd_internal_fork_safe_assert (int result, const char *file, long line,
>> + const char *func, const char *assertion)
>> +{
>> + const char *line_out;
>> + char line_buf[32];
>> +
>> + if (result)
>> + return;
>
> Since no code should ever directly call
> nbd_internal_fork_safe_assert(0,...), but instead go through our macro
> that has already filtered on expression's value,
I either don't understand, or I disagree. With...
2023 Mar 15
4
[libnbd PATCH v4 0/3] lib/utils: add async-signal-safe assert()
This is version 4 of the following sub-series:
[libnbd PATCH v3 06/29] lib/utils: introduce xwrite() as a more robust write()
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
[libnbd PATCH v3 08/29] lib/utils: add unit test for async-signal-safe assert()
http://mid.mail-archive.com/20230215141158.2426855-7-lersek at redhat.com
2011 Mar 04
0
ANNOUNCE: cifs-utils release 4.9 available for download
...;
commit 24093bef78e1e4ea5d541716ebba63e8d4e15c58
Author: Jeff Layton <jlayton at samba.org>
Date: Tue Feb 1 14:24:30 2011 -0500
mount.cifs: fix possible use of uninitialized variable
It's possible to "goto return_i" in this function at several points
before line_buf is set. At that point, the NULL pointer check won't
work correctly and we can end up with a SIGSEGV.
Signed-off-by: Jeff Layton <jlayton at samba.org>
commit b6d2d91df012f965f29ba26489aca009712a230c
Author: Jeff Layton <jlayton at samba.org>
Date: Tue Feb 8 15:33:09...
2008 Nov 21
0
Wine release 1.1.9
...ize and minmax of WS_THICKFRAME child.
Francois Gouget (31):
gdiplus: Add a trailing '\n' to a Wine trace.
shell32/tests: Remove spaces before '\n' in ok() calls.
regedit: Remove unneeded variable initializations.
regedit: Check that we were able to allocate line_buf too.
regedit: line_size is supposed to track a string length.
regedit: The xxx_name_len variables track buffer sizes. That is they count the trailing '\0'. Adjust a couple of places that got this wrong and rename them to xxx_name_size.
regedit: Simplify REGPROC_export_stri...