Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Fix left-shifting of negative value in libz #64

Closed
wants to merge 1 commit into from
Closed

Fix left-shifting of negative value in libz #64

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 15, 2015

Doing a left-shift on a negative value is undefined. This throws an
error with clang 3.7.0. FreeBSD is importing clang 3.7.0 which uncovered
the error.

Credit: dim@FreeBSD.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202958

Doing a left-shift on a negative value is undefined. This throws an
error with clang 3.7.0. FreeBSD is importing clang 3.7.0 which uncovered
the error.

Credit: dim@FreeBSD.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202958
@bsdphk
Copy link
Collaborator

bsdphk commented Sep 21, 2015

I'll merge r287541 from FreeBSD's libz on which our libvgz is based.

Thanks!

@bsdphk bsdphk closed this Sep 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants