dc: Parse error & fix out of bounds read in xc_program_printString
authorBrian Foley <bpfoley@google.com>
Thu, 5 Sep 2019 08:53:21 +0000 (10:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Sep 2019 08:53:21 +0000 (10:53 +0200)
commit10509a70ee5c28800d23bf891b4f72603447e364
treea6a44ba6e4f4cc71257a6894494c62f827f0d7ce
parentb64470be177314e8473fae6c32cab51cacb89fa7
dc: Parse error & fix out of bounds read in xc_program_printString

function                                             old     new   delta
xc_program_print                                     712     735     +23

Signed-off-by: Brian Foley <bpfoley@google.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c
testsuite/dc.tests