learn: Avoid 1-byte buffer underrun in learn_format().
authorBen Pfaff <blp@nicira.com>
Thu, 1 Dec 2011 16:33:55 +0000 (08:33 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 1 Dec 2011 16:33:55 +0000 (08:33 -0800)
commitf299fbeb4bd21a454ca598de36ddf6e7fa995f40
tree554857ef5d1dacf7bc1c1fc4205a39365b3fa499
parenta206a8c6254e4079560e8449787605a28e9059dd
learn: Avoid 1-byte buffer underrun in learn_format().

Reported-and-tested-by: Jari Sundell <sundell.software@gmail.com>
lib/learn.c