]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libsa: dereferencing type-punned pointer in cd9660
authortsoome <tsoome@FreeBSD.org>
Thu, 2 Aug 2018 06:22:10 +0000 (06:22 +0000)
committertsoome <tsoome@FreeBSD.org>
Thu, 2 Aug 2018 06:22:10 +0000 (06:22 +0000)
commit7510485493158ce94c5af4be97eb35820d93ca9d
tree4400497af42ec30b1290919b1cacc14246eda574
parentef0cebe7e1319abfe840cc789932f5cc0c54d175
libsa: dereferencing type-punned pointer in cd9660

The warning is given by gcc build, but it is good to fix anyhow.
use bcopy instead of direct assignment.
stand/libsa/cd9660.c
stand/libsa/cd9660read.c