View Issue Details

IDProjectCategoryView StatusLast Update
0005413Talerobsolete componentpublic2026-01-25 14:10
ReporterTorsten Grothoff Assigned ToMarcello Stanisci Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformFirefoxOSLinuxOS VersionUbuntu 16.04 LTS
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005413: put integer overflow in transfer
DescriptionError:
Environment:


Request Method: POST
Request URL: https://bank.demo.taler.net/profile

Django Version: 2.0.2
Python Version: 3.5.3
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'talerbank.app']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'talerbank.app.middleware.ExceptionMiddleware']



Traceback:

File "/home/demo-blue/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  126. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/demo-blue/local/lib/python3.5/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  21. return view_func(request, *args, **kwargs)

File "/home/demo-blue/local/lib/python3.5/site-packages/talerbank/app/views.py" in profile_page
  166. Amount.parse("%s:%s" % amount_parts),

File "/home/demo-blue/local/lib/python3.5/site-packages/talerbank/app/amount.py" in parse
  71. raise BadFormatAmount(amount_str)

During handling of the above exception (Bad format amount: KUDOS:4.389834795874395e+18), another exception occurred:

File "/home/demo-blue/local/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  35. response = get_response(request)

File "/home/demo-blue/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  128. response = self.process_exception_by_middleware(e, request)

File "/home/demo-blue/local/lib/python3.5/site-packages/django/core/handlers/base.py" in process_exception_by_middleware
  168. response = middleware_method(request, exception)

File "/home/demo-blue/local/lib/python3.5/site-packages/talerbank/app/middleware.py" in process_exception
  62. True, False, exception.hint

Exception Type: AttributeError at /profile
Exception Value: 'BadFormatAmount' object has no attribute 'hint'
Steps To Reproducetype an integer overflow in "amount to transfer" thing and select person. then insert subject.
press transfer.
YOU SHALL NOW SEE THE ERROR!
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2018-12-07 17:56

reporter   ~0013394

Fixed long ago, couldn't find the commit..

Issue History

Date ModifiedUsernameFieldChange
2018-07-28 15:17Torsten GrothoffNew Issue
2018-07-28 15:17Torsten GrothoffSummaryput intinger overflow in transfer => put integer overflow in transfer
2018-07-28 15:18Torsten GrothoffCategoryWeb site(s) => bank (demonstrator)
2018-07-28 15:24Torsten GrothoffTag Attached: Error
2018-07-28 15:24Torsten GrothoffTag Attached: bug
2018-07-28 15:24Torsten GrothoffTag Attached: sevear
2018-07-28 15:24Torsten GrothoffTag Detached: sevear
2018-07-28 15:24Torsten GrothoffTag Attached: Urgent
2018-07-28 15:24Torsten GrothoffTag Attached: intiger overflow
2018-07-28 15:25Torsten GrothoffTag Attached: Wallet
2018-07-28 15:25Torsten GrothoffTag Attached: Taler
2018-07-28 15:27Torsten GrothoffOS => Linux
2018-07-28 15:27Torsten GrothoffOS Version => Ubuntu 16.04 LTS
2018-07-28 15:27Torsten GrothoffPlatform => Firefox
2018-11-17 23:41Christian GrothoffAssigned To => Marcello Stanisci
2018-11-17 23:41Christian GrothoffStatusnew => assigned
2018-11-17 23:41Christian GrothoffProduct Version => git (master)
2018-11-17 23:41Christian GrothoffTarget Version => 0.6
2018-12-07 17:56Marcello StanisciStatusassigned => informing
2018-12-07 17:56Marcello StanisciResolutionopen => fixed
2018-12-07 17:56Marcello StanisciNote Added: 0013394
2019-01-31 18:34Christian GrothoffFixed in Version => 0.6
2019-12-20 18:12Christian GrothoffStatusinforming => closed
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component
2024-02-11 10:46Christian GrothoffTag Detached: intiger overflow
2024-02-11 10:47Christian GrothoffTag Detached: Urgent
2024-02-29 21:46Christian GrothoffTag Detached: bug
2024-02-29 21:47Christian GrothoffTag Detached: Error
2024-02-29 21:48Christian GrothoffTag Detached: Wallet
2026-01-25 14:10Christian GrothoffTag Detached: Taler