duc icon indicating copy to clipboard operation
duc copied to clipboard

[Bug] buffer overflow

Open 0n1cOn3 opened this issue 3 months ago • 1 comments

Description

When duc will be run with the gui flag and you'll click on the diagram, duc get's killed due to an buffer overflow being detected

Steps to Reproduce

  1. run duc gui or ran via app launcher
  2. Click on the 'GUI diagram'
  3. See the error in the console

Expected Behavior

Well, not crashing :)

Environment

  • OS: Fedora 42
  • duc version: 1.4.5, options: cairo opengl ui tokyocabinet
  • Installed by repo: Yes
  • Self-compiled: No

Terminal Output

❯ duc gui dpi 143.435294 *** buffer overflow detected ***: terminated Aborted (core dumped)

Core dump attached:

core.duc.1000.de63494434a84e4f863268436e18f837.198879.zip

0n1cOn3 avatar Sep 27 '25 14:09 0n1cOn3

"0n1cOn3" == 0n1cOn3 @.***> writes:

Thanks for the report, I'll take a look when I get a chance. If you could compile with debugging and get a backtrace, that would be a big help.

I'm flat out busy with other work right now, hopefully soon I can get v1.5.0-rc1 out the door. Please feel free to try that latest branches on github as well.

John

#0n1cOn3 created an issue (zevv/duc#343) Description

When duc will be run with the gui flag and you'll click on the diagram, duc get's killed due to an buffer overflow being detected

Steps to Reproduce

  1. run duc gui
  2. Click on the 'GUI diagram'
  3. See the error in the console

Expected Behavior

Well, not crashing :)

Environment

  • OS: Fedora 42
  • duc version: 1.4.5
  • options: cairo opengl ui tokyocabinet

Terminal Output

❯ duc gui dpi 143.435294 *** buffer overflow detected ***: terminated Aborted (core dumped)

Core dump attached:

core.duc.1000.de63494434a84e4f863268436e18f837.198879.zip

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.*Message ID: <zevv/duc/issues/343 @github.com>

l8gravely avatar Sep 30 '25 19:09 l8gravely