Package: bacula-sd
Version: 1.38.9-9
Severity: grave

bacula-sd segfaults in several locations with null pointer access (for
example #367424) if built with -O2.

I just took a look into src/stored/reserve.c at line 550, where I found
another occurance. At this point it uses foreach_alist, a macro which
yields undefined behaviour than it is good for a program. (Hint: within
a macro, each variable may only accessed once.)

Also the configure is broken, as it don't see that it uses gcc. The
correct check is __GNUC__ anyway.

Bastian

-- 
Insufficient facts always invite danger.
                -- Spock, "Space Seed", stardate 3141.9

Attachment: signature.asc
Description: Digital signature

Reply via email to