Skip to content

Instantly share code, notes, and snippets.

@NotaseCretagen
NotaseCretagen / hosts
Created April 28, 2016 10:53
/etc/hosts which will cause AAAA DNS lookup (due to lacking "::1 vbox1" )
127.0.0.1 localhost
#::1 localhost
#::1 vbox1 vbox1
#127.0.0.1 localhost vbox1
#::1 localhost vbox1 #without this, hostname -f will cause an outgoing dns query for your hostname
# IPv4 and IPv6 localhost aliases
127.0.0.1 localhost.localdomain localhost
@NotaseCretagen
NotaseCretagen / FPE_INTDIV.patch
Created April 25, 2016 19:09
AMD CPU errata: "665 Integer Divide Instruction May Cause Unpredictable Behavior"
workaround for https://bugs.chromium.org/p/chromium/issues/detail?id=599899
tested/applied on www-client/chromium-51.0.2704.7 and .19
I don't know how correct this is, but works for me(=Emanuel Czirai)
Someone feel free to suggest the right fix!
Possible solutions: https://www.securecoding.cert.org/confluence/display/c/INT30-C.+Ensure+that+unsigned+integer+operations+do+not+wrap
Actual problematic line: https://chromium.googlesource.com/webm/libvpx/+/master/vpx_dsp/prob.h#69