Descriptionbufio: don't loop generating empty tokens
The new rules for split functions mean that we are exposed
to the common bug of a function that loops forever at EOF.
Pick these off by shutting down the scanner if too many
consecutive empty tokens are delivered.
Fixes issue 9020.
Patch Set 1 #
Total comments: 1
Patch Set 2 : diff -r 284a98e61e32b9980118392fd5d4a596b2f49d20 https://code.google.com/p/go #Patch Set 3 : diff -r b06214628602255a3a615036c17e71c621051e16 https://code.google.com/p/go #
Total comments: 1
MessagesTotal messages: 9
|