Bug 77019 - call to log_meta with garbage value of ourlevel
Summary: call to log_meta with garbage value of ourlevel
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-03 17:44 UTC by Colin Ian King
Modified: 2014-05-24 08:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
git patch, microhttpd-util: set ourlevel to LOG_DEBUG when outside of log_level_map range (1.09 KB, text/plain)
2014-04-03 17:44 UTC, Colin Ian King
Details

Description Colin Ian King 2014-04-03 17:44:58 UTC
Created attachment 96862 [details]
git patch, microhttpd-util: set ourlevel to LOG_DEBUG when outside of log_level_map range

log_func_gnutls() in src/journal/microhttpd-util.c:

If level is outside the log_level_map array ourlevel is not assigned and
log_meta is logging with a garbage value on the stack.

Attached is a fix
Comment 1 Lennart Poettering 2014-05-24 08:35:04 UTC
Fixed in git a while back with a similar patch by Thomas Andersen.

Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.