diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-03-18 16:43:36 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-04 19:32:21 +0200 |
commit | 964ac38fb0dc84e05606b3abf6f7fcb887a62528 (patch) | |
tree | 8156877416e9b603391079cf9c5f29c6c3ad75d2 /src/tools/qlalr | |
parent | 8c0919a2863948ed8705893c574b481dcdc30ff2 (diff) |
Don't read before the beginning of the string
The code did discard the the data, so it wasn't affecting the comparison
result (tests added anyway), but it could cause crashes if the pointer
to the beginning of the data in the first 8 bytes of a page.
Change-Id: I618e68de329b65de34ef8c934934c3e631cc6c9f
Reported-By: Erik Verbruggen
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/tools/qlalr')
0 files changed, 0 insertions, 0 deletions