Fixed harmless buffer overflow which is caught by FORTIFY on some systems
commit258c26f444a5207fa304823c4d4a996abeed9dfe
authorChris Frey <cdfrey@foursquare.net>
Thu, 10 May 2012 05:08:07 +0000 (10 01:08 -0400)
committerChris Frey <cdfrey@foursquare.net>
Thu, 10 May 2012 05:08:07 +0000 (10 01:08 -0400)
tree0800d7e5d51d0cf0d121861bd53396c488ebd1f9
parent4331cced90ce04c27eaaa383db86da85e540d4aa
Fixed harmless buffer overflow which is caught by FORTIFY on some systems

encode.c takes a shortcut, and updates two struct fields with one
strncpy() call.  This commit splits it into two calls.
lib/encode.c