[ET Trac] #2816: Trigger: Incorrect format statement

Erik Schnetter trac-noreply at einsteintoolkit.org
Fri Aug 9 09:53:49 CDT 2024


#2816: Trigger: Incorrect format statement

 Reporter: Erik Schnetter
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: major
Component: EinsteinToolkit thorn

I see this compiler warning:

```c
/__w/CarpetX/workspace/Cactus/arrangements/CactusUtils/Trigger/src/trigger.c:558:75: warning: more '%' conversions than data arguments [-Wformat-insufficient-args]
  558 |           CCTK_VERROR("%s parsing variable with the name '%s' in trigger %d: %d",
      |                                                                          ~^
```

‌

This points to a real error, potentially leading to a segfault when this statement is executed.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2816/trigger-incorrect-format-statement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240809/923612a9/attachment.htm>


More information about the Trac mailing list