View Issue Details

IDProjectCategoryView StatusLast Update
0010157Talermerchant backendpublic2025-07-08 11:49
Reporteroec Assigned Toschanzen  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Versiongit (master) 
Summary0010157: Use of uninitialized memory for authentication logic
Descriptiontaler-merchant-httpd.c: In function ‘permission_in_scope’:
taler-merchant-httpd.c:392:33: warning: ‘is_read_perm’ may be used uninitialized [-Wmaybe-uninitialized]
  391 | if ( (0 == strcmp ("*-read",
      | ~~~~~~~~~~~~~~~~~~~~~~~
  392 | perm)) &&
      | ~~~~~~~^~
  393 | (is_read_perm) )
      | ~~~~~~~~~~~~~~
taler-merchant-httpd.c:340:8: note: ‘is_read_perm’ was declared here
  340 | bool is_read_perm;
      | ^~~~~~~~~~~~
taler-merchant-httpd.c:385:33: warning: ‘is_write_perm’ may be used uninitialized [-Wmaybe-uninitialized]
  384 | if ( (0 == strcmp ("*-write",
      | ~~~~~~~~~~~~~~~~~~~~~~~~
  385 | perm)) &&
      | ~~~~~~~^~
  386 | (is_write_perm) )
      | ~~~~~~~~~~~~~~~
taler-merchant-httpd.c:341:8: note: ‘is_write_perm’ was declared here
  341 | bool is_write_perm;
      | ^~~~~~~~~~~~~
Steps To Reproduce./bootstrap
make -j
TagsNo tags attached.

Activities

schanzen

2025-07-08 11:49

administrator   ~0025443

Fix committed to master branch.

Related Changesets

merchant: master 47000119

2025-07-08 13:49

schanzen


Details Diff
Fix 0010157 Affected Issues
0010157
mod - src/backend/taler-merchant-httpd.c Diff File

Issue History

Date Modified Username Field Change
2025-07-08 10:44 oec New Issue
2025-07-08 11:49 schanzen Changeset attached => merchant master 47000119
2025-07-08 11:49 schanzen Note Added: 0025443
2025-07-08 11:49 schanzen Assigned To => schanzen
2025-07-08 11:49 schanzen Status new => resolved
2025-07-08 11:49 schanzen Resolution open => fixed