Menu

#1045 plugin / contrib / help / unreachable code

Undefined
open
ollydbg
None
Bug_Report
2021-05-02
2020-12-16
No

/src/plugins/contrib/help_plugin/man2html.cpp line 3407
Code:
case REQ_ec: // groff(7) "reset Escape Character"
{
c=c+j;
if (c!='\n')
escapesym=
c;
else
escapesym='\';
break;
c=skip_till_newline(c); // <-- unreachable
}

Discussion

  • ollydbg

    ollydbg - 2021-05-02

    Hi, thanks for the report.

                    case REQ_ec: // groff(7) "reset Escape Character"
                    {
                        c=c+j;
                        if (*c!='\n')
                            escapesym=*c;
                        else
                            escapesym='\\';
                        break;
                        c=skip_till_newline(c);
                    }
    

    Do you mean the break should be put after the line c=skip_till_newline(c);?
    I am not quite understand the logic of the manual to html conversion. Thanks.

     
  • ollydbg

    ollydbg - 2021-05-02
    • assigned_to: ollydbg
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.