commit | c620a52b69a5f29563e06497e30877809f5d67a5 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Wed Oct 21 11:02:44 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Wed Oct 21 11:02:44 2009 -0700 |
tree | b0771555e1063ed4653cdfc454a209998a236bb0 | |
parent | d443ba4534b88fe6dfd3bd8f1dd1dc8451ed6734 [diff] |
Add size checks for glBufferData and glBufferSubData Without the size checks it's possible for calls to glBufferData and glBufferSubData to read off the end of the Buffer object's data, which can cause page faults. Fix end-of-line characters for the "spec" files. (That's why every line of these files is changed.) Enhance our code emitter to properly handle bounds checks for possibly-null pointers.