glx: Fix possible out of bounds access in __glXDisp_GetVisualConfigs()
If p is odd, then the zeroing loop will access memory out of bounds by one element. We can prevent that by zeroing just single element at once.
Fixes #1030 (closed).
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If p is odd, then the zeroing loop will access memory out of bounds by one element. We can prevent that by zeroing just single element at once.
Fixes #1030 (closed).