Files
magic/graphics
Darryl L. Miles 18a4dddc2b fix: read of uninitialized data at inChar[0]
This is a defensive fix, might cause unexpected program exit if triggered.
The loop will iterate at least once when nbytes==0, but this value
indicates XLookupString did not fill in any data, so the entire buffer
is undefined.

Using memset() before or inChar[0]=0 after XLookupString did not fix
the issue.  Using inChar[0]=0 immediately before the loop did fix as
well.  But this patch seems to be the best approach.
2024-10-01 12:43:27 -04:00
..
2020-05-23 17:00:38 -04:00
2020-05-23 17:00:38 -04:00
2020-05-23 17:00:38 -04:00
2022-10-29 06:07:46 +02:00
2022-10-29 06:07:46 +02:00
2022-10-29 06:07:46 +02:00
2022-10-29 06:07:46 +02:00
2022-10-29 06:07:46 +02:00
2022-10-29 06:07:46 +02:00

This driver is a modification of the Stanford X10 driver.  The modifications
were done by Walter Scott and Eric Lunow at Lawrence Livermore National Labs.