Summary: | media-sound/alsa-utils-1.0.27 buffer overflow in alsactl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Turbov <I.zaufi> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | reserve enough space for sprintf() |
Description
Alex Turbov
2013-05-03 05:57:24 UTC
Created attachment 347200 [details, diff]
reserve enough space for sprintf()
quick hack is to reserve enough space for sprintf() w/ amount reported by printing the value of std::numeric_limits<long>::digits10 from a sample C++ program on my machine. but better solution would be use snprintf() instead.
*** This bug has been marked as a duplicate of bug 468160 *** |