bugGNU Scientific Library - Bugs: bug #29834, insufficient argument checking in...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #29834: insufficient argument checking in blas wrapper

Submitted by:  -Deleted Account- <bjg>
Submitted on:  Sun 09 May 2010 10:21:46 AM UTC  
 
Category: Runtime errorSeverity: 3 - Normal
Operating System: Status: Confirmed
Assigned to: NoneOpen/Closed: Open
Release: 

Sun 09 May 2010 10:21:46 AM UTC, original submission:

the blas wrapper does not do full checking of its arguments
furthermore, the checking could be shared with the cblas routines via macros, to ensure consistency.

From: José Luis García Pallero <jgpallero@gmail.com>
To: -unavailable-
Subject: Re: [Help-gsl] About invalid parameters in cblas implementation
Date: Fri, 24 Jul 2009 19:01:37 +0200

[1 <text/plain; ISO-8859-1 (quoted-printable)>]
Hi,
Attached I send the second version (partial, only for level 2 routines with
standard 4 prefixes (S, D, C, Z)). I have used submacros as we discussed in
recent mails. I think that we must pass to submacros the variable 'pos' for
"return" the result and the position 'posIfError' as the "returned" value if
an error occurs.
But we need some trick for check with macros the parameter 'lda', because
the check is different depending on 'order' parameter and involves other
arguments like 'M' and 'N'. Probably, this check must be done explicitly.

--
*****************************************
José Luis García Pallero
-unavailable-
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************

-Deleted Account- <bjg>

 

Attached Files
file #20490:  error_cblas_v2.h added by bjg (11kB - text/plain - example macros)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sun 09 May 2010 10:21:46 AM UTCbjgAttached File-=>Added error_cblas_v2.h, #20490

Back to the top


Powered by Savane 3.1-cleanup